Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001153/0.001153, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.00119/0.00119, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 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 0.8987/0.8987, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.422e-05, allocations: 2.312 kB / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00435/0.004365, allocations: 5.026 MB / 274.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.006069, allocations: 1.407 MB / 275.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.006326, allocations: 36.91 kB / 275.7 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.006641, allocations: 221.8 kB / 275.9 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.006972, allocations: 218.8 kB / 276.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.007452, allocations: 406.9 kB / 276.5 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.008155, allocations: 1.149 MB / 277.7 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.008506, allocations: 313.4 kB / 278 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.008934, allocations: 0.6007 MB / 278.6 MB, free: 360 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.009178, allocations: 294.9 kB / 278.9 MB, free: 64 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/0.009263, allocations: 88.05 kB / 279 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.009386, allocations: 99.88 kB / 279 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.009495, allocations: 215 kB / 279.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.01015, allocations: 323 kB / 279.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.0107, allocations: 0.7778 MB / 280.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.01071, allocations: 0 / 280.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.01071, allocations: 0 / 280.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.01071, allocations: 0 / 280.4 MB, free: 14.57 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001144/0.01186, allocations: 1.367 MB / 281.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.01189, allocations: 8.031 kB / 281.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.01205, allocations: 211.2 kB / 281.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.01262, allocations: 0.6122 MB / 282.5 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.01266, allocations: 74 kB / 282.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-05/0.01274, allocations: 99.98 kB / 282.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000806/0.01355, allocations: 0.9912 MB / 283.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.01357, allocations: 11.89 kB / 283.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.01362, allocations: 44 kB / 283.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.01363, allocations: 24 kB / 283.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.01401, allocations: 337.2 kB / 284.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.01717, allocations: 6.738 MB / 290.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.01743, allocations: 181.9 kB / 291 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.01754, allocations: 99.56 kB / 291.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.01759, allocations: 12.28 kB / 291.1 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.01761, allocations: 45.33 kB / 291.2 MB, free: 3.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.01761, allocations: 0 / 291.2 MB, free: 3.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001533/0.01915, allocations: 1.051 MB / 292.2 MB, free: 2.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.01918, allocations: 85.11 kB / 292.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.01955, allocations: 0.6587 MB / 293 MB, free: 1.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01957, allocations: 37.7 kB / 293 MB, free: 1.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.01984, allocations: 0.6578 MB / 293.7 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.02011, allocations: 158.7 kB / 293.8 MB, free: 380 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.02022, allocations: 140.2 kB / 294 MB, free: 232 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.0204, allocations: 0.574 MB / 294.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.189e-05/0.02047, allocations: 61.94 kB / 294.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.02074, allocations: 0.55 MB / 295.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.02116, allocations: 0.6902 MB / 295.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02116, allocations: 4 kB / 295.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005085/0.02167, allocations: 0.5793 MB / 296.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.02169, allocations: 8 kB / 296.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.02169, allocations: 12 kB / 296.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.02171, allocations: 16 kB / 296.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.02204, allocations: 196.4 kB / 296.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.02206, allocations: 27.86 kB / 296.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.02223, allocations: 31.98 kB / 296.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.02226, allocations: 32 kB / 296.7 MB, free: 13 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0001514/0.02241, allocations: 208.2 kB / 296.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.02249, allocations: 91.48 kB / 297 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.907e-05/0.02256, allocations: 78.55 kB / 297.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02257, allocations: 4 kB / 297.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.02257, allocations: 4 kB / 297.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.02258, allocations: 4 kB / 297.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.02347, allocations: 1.002 MB / 298.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02347, allocations: 0 / 298.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.02369, allocations: 99.88 kB / 298.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.0237, allocations: 0 / 298.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.02371, allocations: 16.14 kB / 298.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.02372, allocations: 8 kB / 298.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.02372, allocations: 4 kB / 298.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.02411, allocations: 0.637 MB / 298.9 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.02416, allocations: 71.41 kB / 299 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.0242, allocations: 8 kB / 299 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.02434, allocations: 23.98 kB / 299 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.02439, allocations: 35.83 kB / 299 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.0244, allocations: 11.98 kB / 299 MB, free: 10.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.0246, allocations: 390.8 kB / 299.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0246, allocations: 0 / 299.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.02497, allocations: 136 kB / 299.5 MB, free: 10.08 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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 9.347e-05/0.02507, allocations: 111.2 kB / 299.7 MB, free: 9.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.02537, allocations: 304.4 kB / 299.9 MB, free: 9.664 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02537, allocations: 0 / 299.9 MB, free: 9.664 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.02547, allocations: 103.4 kB / 300 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.02581, allocations: 83.31 kB / 300.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.02764, allocations: 1.56 MB / 301.7 MB, free: 7.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.365e-05/0.02773, allocations: 162.4 kB / 301.9 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.02788, allocations: 86.02 kB / 301.9 MB, free: 7.582 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.02807, allocations: 194.1 kB / 302.1 MB, free: 7.391 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02807, allocations: 4 kB / 302.1 MB, free: 7.387 MB / 282.7 MB Notification: Performance of Templates: time 0.00842/0.03649, allocations: 5.226 MB / 307.4 MB, free: 2.266 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.701141303870827]