Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.331e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007446/0.007479, allocations: 4.773 MB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.01087, allocations: 1.476 MB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008025/0.01167, allocations: 35.69 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.01242, allocations: 229.7 kB / 278.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009146/0.01333, allocations: 201.9 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.01447, allocations: 427.2 kB / 279.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.01631, allocations: 1.153 MB / 280.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008517/0.01717, allocations: 316.9 kB / 280.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.01838, allocations: 0.5924 MB / 281.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.01894, allocations: 286.9 kB / 281.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.01915, allocations: 80 kB / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.01948, allocations: 115.9 kB / 281.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.01973, allocations: 215 kB / 282.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.02026, allocations: 315 kB / 282.4 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.02196, allocations: 1.171 MB / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.02197, allocations: 0 / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02197, allocations: 0 / 283.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.116e-05/0.02203, allocations: 0 / 283.6 MB, free: 6.352 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.002715/0.02475, allocations: 1.263 MB / 284.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.0248, allocations: 11.98 kB / 284.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.02538, allocations: 227.1 kB / 285.1 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.0267, allocations: 0.6212 MB / 285.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.02677, allocations: 74 kB / 285.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.02693, allocations: 99.98 kB / 285.9 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.02895, allocations: 1.081 MB / 286.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.02899, allocations: 7.922 kB / 287 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.699e-05/0.02907, allocations: 44 kB / 287 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.02911, allocations: 31.98 kB / 287 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.03033, allocations: 0.5578 MB / 287.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1306/0.161, allocations: 5.145 MB / 292.7 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.1616, allocations: 218.2 kB / 292.9 MB, free: 24.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.1619, allocations: 152.6 kB / 293.1 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.685e-05/0.162, allocations: 10.05 kB / 293.1 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.162, allocations: 41.8 kB / 293.1 MB, free: 24.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.162, allocations: 2.047 kB / 293.1 MB, free: 24.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.004149/0.1662, allocations: 1.609 MB / 294.8 MB, free: 23.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1662, allocations: 86.67 kB / 294.8 MB, free: 23.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008392/0.1671, allocations: 0.6502 MB / 295.5 MB, free: 23.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1671, allocations: 32.39 kB / 295.5 MB, free: 23.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.1674, allocations: 0.6177 MB / 296.1 MB, free: 22.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.125e-05/0.1675, allocations: 147.5 kB / 296.3 MB, free: 22.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.1677, allocations: 141.5 kB / 296.4 MB, free: 22.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1678, allocations: 384.5 kB / 296.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.1681, allocations: 153.9 kB / 296.9 MB, free: 22.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.1686, allocations: 0.4884 MB / 297.4 MB, free: 21.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007825/0.1694, allocations: 0.7066 MB / 298.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.1694, allocations: 3.375 kB / 298.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001158/0.1705, allocations: 0.7508 MB / 298.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1705, allocations: 15.41 kB / 298.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.1706, allocations: 12.06 kB / 298.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/0.1706, allocations: 17.2 kB / 298.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.1713, allocations: 194.4 kB / 299.1 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.1713, allocations: 24.28 kB / 299.2 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.1717, allocations: 38.59 kB / 299.2 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.1717, allocations: 37.48 kB / 299.2 MB, free: 20.77 MB / 266.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.0002561/0.172, allocations: 230.7 kB / 299.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1721, allocations: 101 kB / 299.6 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.1722, allocations: 73.66 kB / 299.6 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1722, allocations: 5.125 kB / 299.6 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.1723, allocations: 0 / 299.6 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.1723, allocations: 3.953 kB / 299.6 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.1743, allocations: 1.133 MB / 300.8 MB, free: 19.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.1743, allocations: 5.312 kB / 300.8 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.1748, allocations: 102.9 kB / 300.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1748, allocations: 5.047 kB / 300.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.1748, allocations: 14.41 kB / 300.9 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.1748, allocations: 3.875 kB / 300.9 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1748, allocations: 6.094 kB / 300.9 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000993/0.1758, allocations: 0.7101 MB / 301.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.1759, allocations: 65.75 kB / 301.7 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.176, allocations: 13.98 kB / 301.7 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.1763, allocations: 23.59 kB / 301.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.1763, allocations: 33.84 kB / 301.7 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1764, allocations: 19.17 kB / 301.8 MB, free: 19.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004817/0.1768, allocations: 420.7 kB / 302.2 MB, free: 19.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1768, allocations: 0 / 302.2 MB, free: 19.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006974/0.1775, allocations: 136.8 kB / 302.3 MB, free: 19.12 MB / 266.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 0.00013/0.1777, allocations: 108.2 kB / 302.4 MB, free: 19.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008046/0.1785, allocations: 415.7 kB / 302.8 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1785, allocations: 0 / 302.8 MB, free: 18.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.1788, allocations: 145.1 kB / 303 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.1794, allocations: 77.7 kB / 303 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.1818, allocations: 1.605 MB / 304.6 MB, free: 17.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1822, allocations: 425 kB / 305.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.1825, allocations: 94.98 kB / 305.2 MB, free: 17.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.1826, allocations: 72.78 kB / 305.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1826, allocations: 0 / 305.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of Templates: time 0.009797/0.1924, allocations: 4.7 MB / 309.9 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.649658844922669]