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.001944/0.001944, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002217/0.002217, allocations: 149.4 kB / 24.25 MB, free: 184 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.527/1.527, allocations: 173.4 MB / 200.8 MB, free: 9.309 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 2.004e-06/2.004e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.637e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004634/0.00466, allocations: 2.686 MB / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.006058, allocations: 0.6503 MB / 270.7 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.006211, allocations: 7.938 kB / 270.7 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.006451, allocations: 59.38 kB / 270.7 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.006659, allocations: 99.11 kB / 270.8 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.006973, allocations: 87.81 kB / 270.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005157/0.007489, allocations: 394.2 kB / 271.3 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.007737, allocations: 105.8 kB / 271.4 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.008083, allocations: 223.5 kB / 271.6 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.008293, allocations: 111.7 kB / 271.7 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.008354, allocations: 32 kB / 271.8 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.008411, allocations: 36 kB / 271.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.008498, allocations: 79.67 kB / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.008649, allocations: 115.7 kB / 272 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005048/0.009154, allocations: 378.8 kB / 272.4 MB, free: 1.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.009158, allocations: 0 / 272.4 MB, free: 1.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.009159, allocations: 0 / 272.4 MB, free: 1.648 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.009165, allocations: 0 / 272.4 MB, free: 1.648 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.001299/0.01046, allocations: 0.5403 MB / 272.9 MB, free: 1.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.01051, allocations: 16.86 kB / 272.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.01065, allocations: 64.7 kB / 273 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.01106, allocations: 209.2 kB / 273.2 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.0111, allocations: 21.03 kB / 273.2 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.01118, allocations: 36.38 kB / 273.2 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.01181, allocations: 322 kB / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01183, allocations: 192 / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.01187, allocations: 20.36 kB / 273.6 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.01188, allocations: 15.94 kB / 273.6 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.01239, allocations: 202.5 kB / 273.8 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.01402, allocations: 0.8096 MB / 274.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.0144, allocations: 154.6 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.01459, allocations: 72.81 kB / 274.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.01461, allocations: 0 / 274.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.01464, allocations: 38.55 kB / 274.9 MB, free: 15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.01465, allocations: 4 kB / 274.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006374/0.01528, allocations: 224.2 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.01533, allocations: 55.41 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.01556, allocations: 190.3 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.01559, allocations: 33.7 kB / 275.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.01575, allocations: 196.3 kB / 275.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.01582, allocations: 75.36 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.01591, allocations: 41.72 kB / 275.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.01611, allocations: 334.8 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.01629, allocations: 55.97 kB / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.01652, allocations: 118 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.01691, allocations: 189.8 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01692, allocations: 4 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005414/0.01746, allocations: 249.3 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.01748, allocations: 8 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01748, allocations: 3.938 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.01751, allocations: 7.938 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.01781, allocations: 55.97 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.01782, allocations: 4.062 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.01799, allocations: 35.83 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.01801, allocations: 8 kB / 276.7 MB, free: 13.04 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.0001558/0.01816, allocations: 137.8 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.01822, allocations: 19.91 kB / 276.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.01869, allocations: 199.2 kB / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01869, allocations: 0 / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.0187, allocations: 0 / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.0187, allocations: 0 / 277.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.01906, allocations: 217.2 kB / 277.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01906, allocations: 0 / 277.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.01936, allocations: 59.91 kB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.01937, allocations: 4 kB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.01939, allocations: 4 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01939, allocations: 3.938 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0194, allocations: 0 / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.02009, allocations: 351.2 kB / 277.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.02014, allocations: 23.91 kB / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.02016, allocations: 0 / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.02035, allocations: 19.92 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.02042, allocations: 19.91 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.02043, allocations: 4 kB / 277.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.02057, allocations: 132.4 kB / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02057, allocations: 0 / 277.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.02095, allocations: 83.73 kB / 278 MB, free: 11.73 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.0001653/0.02111, allocations: 107.2 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.02155, allocations: 150.9 kB / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02155, allocations: 0 / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.02173, allocations: 71.84 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.02209, allocations: 28.23 kB / 278.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.02343, allocations: 0.6959 MB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.02361, allocations: 159.4 kB / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.336e-05/0.02371, allocations: 17.64 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.02377, allocations: 20.5 kB / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02377, allocations: 0 / 279.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of Templates: time 0.006046/0.02981, allocations: 1.79 MB / 281 MB, free: 8.668 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] 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.574321751948446]