Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.264e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004421/0.004443, allocations: 2.835 MB / 270.2 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.00568, allocations: 0.6659 MB / 270.8 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.005817, allocations: 7.938 kB / 270.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.006023, allocations: 59.38 kB / 270.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.006206, allocations: 91.14 kB / 271 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.006467, allocations: 95.8 kB / 271.1 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.006947, allocations: 390.2 kB / 271.5 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.007176, allocations: 105.8 kB / 271.6 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.007519, allocations: 227.5 kB / 271.8 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.007725, allocations: 115.7 kB / 271.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.007799, allocations: 35.98 kB / 271.9 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.29e-05/0.007862, allocations: 32 kB / 272 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.007944, allocations: 67.75 kB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.008098, allocations: 123.7 kB / 272.2 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.00859, allocations: 382.7 kB / 272.5 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.008593, allocations: 0 / 272.5 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.008594, allocations: 0 / 272.5 MB, free: 1.512 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.0086, allocations: 0 / 272.5 MB, free: 1.512 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001078/0.009678, allocations: 0.6594 MB / 273.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.009715, allocations: 8.922 kB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.009849, allocations: 64.7 kB / 273.3 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.01019, allocations: 216 kB / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.01043, allocations: 25.03 kB / 273.5 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.01049, allocations: 32.38 kB / 273.5 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.01106, allocations: 318 kB / 273.8 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.01107, allocations: 4.188 kB / 273.8 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.01111, allocations: 16.38 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.01112, allocations: 11.94 kB / 273.9 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.01156, allocations: 186.5 kB / 274.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.01325, allocations: 0.9416 MB / 275 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.01358, allocations: 155.1 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.01375, allocations: 71.66 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.01377, allocations: 4 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.0138, allocations: 37.33 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.0138, allocations: 0 / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005116/0.01431, allocations: 216.2 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.01436, allocations: 51.41 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.01463, allocations: 265.7 kB / 275.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.01466, allocations: 29.7 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.01486, allocations: 251 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.01493, allocations: 75.39 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.01502, allocations: 51.36 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002892/0.01531, allocations: 0.5118 MB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.01546, allocations: 55.97 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.01568, allocations: 133.8 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.01603, allocations: 197.6 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.01604, allocations: 0 / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004593/0.0165, allocations: 233.4 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.01651, allocations: 12.12 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.01652, allocations: 3.938 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.01654, allocations: 4 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.01681, allocations: 55.91 kB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.01682, allocations: 4 kB / 277.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.01695, allocations: 27.78 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.01697, allocations: 15.98 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.01715, allocations: 188.5 kB / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.0172, allocations: 19.91 kB / 277.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.01759, allocations: 183.3 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.0176, allocations: 4 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.0176, allocations: 0 / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01761, allocations: 3.984 kB / 277.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.01797, allocations: 260.5 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01797, allocations: 0 / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.01824, allocations: 51.91 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.01824, allocations: 0 / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.01826, allocations: 8 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01826, allocations: 3.938 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.01827, allocations: 8 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.01887, allocations: 383.7 kB / 278.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.01891, allocations: 23.83 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.01894, allocations: 4 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.01909, allocations: 11.94 kB / 278.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.01915, allocations: 15.97 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.01916, allocations: 4 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.01934, allocations: 188.3 kB / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01934, allocations: 4 kB / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.01967, allocations: 79.73 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001374/0.01981, allocations: 107.3 kB / 278.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.02019, allocations: 162.6 kB / 279.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.0202, allocations: 4 kB / 279.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.02035, allocations: 75.59 kB / 279.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.02066, allocations: 28.23 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.02201, allocations: 0.7131 MB / 279.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.02219, allocations: 159.3 kB / 280.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.46e-05/0.02226, allocations: 17.62 kB / 280.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.02232, allocations: 20.5 kB / 280.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02232, allocations: 0 / 280.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of Templates: time 0.006252/0.02857, allocations: 1.791 MB / 281.9 MB, free: 7.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.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.638996982946992]