Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001748, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 109.1 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2696, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005257/0.2749, allocations: 3.725 MB / 410.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.2774, allocations: 1.477 MB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2776, allocations: 8 kB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.2795, allocations: 0.7084 MB / 413 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009145/0.2804, allocations: 338.5 kB / 413.3 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.2817, allocations: 0.5451 MB / 413.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.2822, allocations: 446 kB / 414.3 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006904/0.2829, allocations: 350.2 kB / 414.6 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.2832, allocations: 195.2 kB / 414.8 MB, free: 20.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.2835, allocations: 262.9 kB / 415.1 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.2836, allocations: 32 kB / 415.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.2841, allocations: 199.8 kB / 415.3 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.2842, allocations: 91.61 kB / 415.4 MB, free: 19.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.2844, allocations: 222.8 kB / 415.6 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007732/0.2852, allocations: 0.6697 MB / 416.3 MB, free: 18.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2852, allocations: 0 / 416.3 MB, free: 18.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2852, allocations: 4 kB / 416.3 MB, free: 18.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2852, allocations: 0 / 416.3 MB, free: 18.58 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002677/0.2879, allocations: 0.9092 MB / 417.2 MB, free: 17.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.288, allocations: 8.594 kB / 417.2 MB, free: 17.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005766/0.2937, allocations: 499.9 kB / 417.7 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.2942, allocations: 303.7 kB / 418 MB, free: 16.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.2943, allocations: 41.62 kB / 418 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.2944, allocations: 52.38 kB / 418.1 MB, free: 16.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.2957, allocations: 0.5142 MB / 418.6 MB, free: 16.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.2957, allocations: 8 kB / 418.6 MB, free: 16.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-05/0.2958, allocations: 20 kB / 418.6 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.2958, allocations: 12 kB / 418.6 MB, free: 16.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.2972, allocations: 0.5634 MB / 419.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.3006, allocations: 1.956 MB / 421.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.3029, allocations: 2.181 MB / 423.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.3034, allocations: 212.9 kB / 423.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.3035, allocations: 174.6 kB / 423.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.3036, allocations: 43 kB / 423.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 3.186e-06/0.3036, allocations: 0 / 423.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.002604/0.3062, allocations: 0.7894 MB / 424.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.3062, allocations: 55.84 kB / 424.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.3065, allocations: 186.4 kB / 424.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.3065, allocations: 33.7 kB / 424.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.3066, allocations: 220.3 kB / 425 MB, free: 9.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.3067, allocations: 157.7 kB / 425.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.3069, allocations: 86.16 kB / 425.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.801e-05/0.307, allocations: 342.8 kB / 425.6 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.3074, allocations: 157 kB / 425.7 MB, free: 8.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.3079, allocations: 224.8 kB / 426 MB, free: 8.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.3088, allocations: 395.5 kB / 426.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3088, allocations: 4 kB / 426.4 MB, free: 7.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001356/0.3101, allocations: 0.5354 MB / 426.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3102, allocations: 8.219 kB / 426.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3102, allocations: 4 kB / 426.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004503/0.3107, allocations: 92.69 kB / 427 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.3112, allocations: 91.89 kB / 427.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.3134, allocations: 1.85 MB / 428.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.3138, allocations: 51.5 kB / 429 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.3138, allocations: 23.97 kB / 429 MB, free: 4.898 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.3141, allocations: 167.2 kB / 429.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.3142, allocations: 27.66 kB / 429.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3156, allocations: 0.5474 MB / 429.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3157, allocations: 4 kB / 429.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3157, allocations: 4 kB / 429.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.3157, allocations: 3.984 kB / 429.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.3178, allocations: 1.129 MB / 430.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3178, allocations: 0 / 430.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.3183, allocations: 75.91 kB / 431 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/0.3187, allocations: 92.73 kB / 431 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.3187, allocations: 15.94 kB / 431.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.3208, allocations: 1.835 MB / 432.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3208, allocations: 0 / 432.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/0.3244, allocations: 1.955 MB / 434.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-05/0.3245, allocations: 108.7 kB / 435 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.3246, allocations: 8 kB / 435 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.325, allocations: 19.92 kB / 435 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3251, allocations: 36.39 kB / 435 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.3252, allocations: 16.09 kB / 435 MB, free: 14.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.3253, allocations: 136.2 kB / 435.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3253, allocations: 3.938 kB / 435.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001142/0.3265, allocations: 167.5 kB / 435.3 MB, free: 14.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002986/0.3268, allocations: 137.6 kB / 435.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.3284, allocations: 0.566 MB / 436 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3284, allocations: 0 / 436 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008988/0.3293, allocations: 380.9 kB / 436.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.3299, allocations: 24.44 kB / 436.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.3323, allocations: 1.286 MB / 437.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.3328, allocations: 0.8243 MB / 438.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003726/0.3332, allocations: 42.95 kB / 438.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.3333, allocations: 31.42 kB / 438.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3334, allocations: 0 / 438.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of Templates: time 0.01272/0.3461, allocations: 4.309 MB / 442.9 MB, free: 6.52 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches