Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 161 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.465e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005976/0.006011, allocations: 3.65 MB / 254 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.009244, allocations: 1.418 MB / 255.4 MB, free: 2.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.009488, allocations: 8 kB / 255.4 MB, free: 2.723 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.01162, allocations: 0.7932 MB / 256.2 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.01278, allocations: 417.7 kB / 256.6 MB, free: 1.512 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.01398, allocations: 0.5253 MB / 257.2 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000665/0.01465, allocations: 0.5015 MB / 257.7 MB, free: 492 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.0153, allocations: 358 kB / 258 MB, free: 128 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.01579, allocations: 307.2 kB / 258.3 MB, free: 15.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.01614, allocations: 223.4 kB / 258.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.832e-05/0.01622, allocations: 47.94 kB / 258.6 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.01667, allocations: 199.7 kB / 258.8 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.01679, allocations: 119.5 kB / 258.9 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.01701, allocations: 171.5 kB / 259.1 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009961/0.018, allocations: 0.7202 MB / 259.8 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.01801, allocations: 4 kB / 259.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01801, allocations: 0 / 259.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.01802, allocations: 0 / 259.8 MB, free: 14.35 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002337/0.02036, allocations: 0.9949 MB / 260.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.0204, allocations: 15.97 kB / 260.8 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/0.02482, allocations: 0.7302 MB / 261.5 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.0253, allocations: 263.9 kB / 261.8 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.02535, allocations: 41.69 kB / 261.8 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.02546, allocations: 60.31 kB / 261.9 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.02654, allocations: 0.5632 MB / 262.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.02656, allocations: 192 / 262.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.02671, allocations: 23.94 kB / 262.5 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.02673, allocations: 12 kB / 262.5 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.02792, allocations: 0.6064 MB / 263.1 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.03145, allocations: 1.822 MB / 264.9 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.03333, allocations: 0.6442 MB / 265.6 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.03371, allocations: 197.1 kB / 265.7 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.563e-05/0.03379, allocations: 16.48 kB / 265.8 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.03384, allocations: 45.83 kB / 265.8 MB, free: 8.168 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 2.645e-06/0.03385, allocations: 0 / 265.8 MB, free: 8.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.002048/0.0359, allocations: 0.715 MB / 266.5 MB, free: 7.449 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.03595, allocations: 59.91 kB / 266.6 MB, free: 7.379 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.03626, allocations: 273.7 kB / 266.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.0363, allocations: 33.69 kB / 266.9 MB, free: 7.055 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.03655, allocations: 303.5 kB / 267.2 MB, free: 6.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.03675, allocations: 182.5 kB / 267.4 MB, free: 6.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.03693, allocations: 104 kB / 267.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000329/0.03726, allocations: 0.5235 MB / 268 MB, free: 5.926 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.03757, allocations: 149.2 kB / 268.1 MB, free: 5.781 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.03804, allocations: 322.5 kB / 268.4 MB, free: 5.402 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/0.03884, allocations: 0.4897 MB / 268.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.03884, allocations: 0 / 268.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001369/0.04021, allocations: 0.6024 MB / 269.5 MB, free: 4.242 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.04025, allocations: 8 kB / 269.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.04026, allocations: 0 / 269.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.04086, allocations: 127.5 kB / 269.7 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.04127, allocations: 99.89 kB / 269.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.04413, allocations: 2.548 MB / 272.3 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.04446, allocations: 51.61 kB / 272.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.04451, allocations: 24 kB / 272.4 MB, free: 1.27 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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.0003064/0.04481, allocations: 220.4 kB / 272.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.0449, allocations: 35.86 kB / 272.6 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.04609, allocations: 0.5475 MB / 273.2 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.0461, allocations: 11.98 kB / 273.2 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.0461, allocations: 0 / 273.2 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.04611, allocations: 4 kB / 273.2 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.048, allocations: 1.103 MB / 274.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.04801, allocations: 3.938 kB / 274.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.04835, allocations: 71.91 kB / 274.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.04879, allocations: 115.6 kB / 274.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.04882, allocations: 11.98 kB / 274.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.05166, allocations: 2.544 MB / 277 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.05166, allocations: 3.984 kB / 277 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.05313, allocations: 0.8454 MB / 277.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.05319, allocations: 31.72 kB / 277.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.05324, allocations: 15.94 kB / 277.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.05347, allocations: 12 kB / 278 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.05358, allocations: 44.36 kB / 278 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.05361, allocations: 12 kB / 278 MB, free: 11.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.05378, allocations: 188.2 kB / 278.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05378, allocations: 0 / 278.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006764/0.05445, allocations: 159.6 kB / 278.3 MB, free: 11.09 MB / 266.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 (44): * Single equations (assignments): 43 * 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.0002753/0.05473, allocations: 131.1 kB / 278.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.05597, allocations: 0.6444 MB / 279.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.05597, allocations: 0 / 279.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.05665, allocations: 446 kB / 279.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.05702, allocations: 43.95 kB / 279.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.05878, allocations: 0.8193 MB / 280.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.05902, allocations: 217.1 kB / 280.6 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.05921, allocations: 46.95 kB / 280.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.05932, allocations: 40.48 kB / 280.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.05933, allocations: 0 / 280.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of Templates: time 0.01107/0.07039, allocations: 4.34 MB / 285.1 MB, free: 4.309 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.500897945952602]