Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.002467/0.002467, allocations: 95.61 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.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.002976/0.002976, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.687/1.687, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.974e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007839/0.007869, allocations: 5.102 MB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.01118, allocations: 1.496 MB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/0.0117, allocations: 35.69 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.01222, allocations: 221.7 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005983/0.01281, allocations: 209.8 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.01371, allocations: 423.2 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.01522, allocations: 1.149 MB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006483/0.01587, allocations: 316.9 kB / 281.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.01692, allocations: 0.6001 MB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.01739, allocations: 298.9 kB / 282.2 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.01753, allocations: 84 kB / 282.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.01776, allocations: 96 kB / 282.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.01812, allocations: 227 kB / 282.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003865/0.0185, allocations: 319 kB / 282.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.02003, allocations: 1.171 MB / 284 MB, free: 6.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.02004, allocations: 4 kB / 284 MB, free: 6.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02004, allocations: 0 / 284 MB, free: 6.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.02006, allocations: 0 / 284 MB, free: 6.027 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.002556/0.02262, allocations: 1.429 MB / 285.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.02266, allocations: 8.031 kB / 285.5 MB, free: 4.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.02319, allocations: 227.1 kB / 285.7 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.0244, allocations: 0.6279 MB / 286.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/0.02449, allocations: 74 kB / 286.4 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.02463, allocations: 96 kB / 286.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.0267, allocations: 1.209 MB / 287.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.02674, allocations: 3.938 kB / 287.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/0.02683, allocations: 47.98 kB / 287.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.02686, allocations: 32 kB / 287.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.02808, allocations: 0.5344 MB / 288.3 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1421/0.1702, allocations: 7.13 MB / 295.5 MB, free: 22.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.1709, allocations: 230.6 kB / 295.7 MB, free: 22.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.1712, allocations: 142.6 kB / 295.8 MB, free: 22.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.1713, allocations: 12.12 kB / 295.8 MB, free: 22.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1713, allocations: 40.25 kB / 295.9 MB, free: 22.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.1713, allocations: 0.875 kB / 295.9 MB, free: 22.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.003706/0.175, allocations: 1.579 MB / 297.5 MB, free: 21.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1751, allocations: 83.98 kB / 297.5 MB, free: 21.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.1759, allocations: 0.8106 MB / 298.3 MB, free: 20.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1759, allocations: 32.55 kB / 298.4 MB, free: 20.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.1763, allocations: 0.6886 MB / 299.1 MB, free: 20.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.459e-05/0.1764, allocations: 164.2 kB / 299.2 MB, free: 20.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.1765, allocations: 159.8 kB / 299.4 MB, free: 20.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1767, allocations: 0.5963 MB / 300 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.177, allocations: 144.3 kB / 300.1 MB, free: 19.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/0.1774, allocations: 0.6471 MB / 300.8 MB, free: 18.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.1782, allocations: 0.8459 MB / 301.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.1782, allocations: 3.875 kB / 301.6 MB, free: 18.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00112/0.1793, allocations: 0.7412 MB / 302.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1794, allocations: 9.828 kB / 302.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.1794, allocations: 15.97 kB / 302.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/0.1794, allocations: 17.78 kB / 302.4 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.18, allocations: 192.4 kB / 302.6 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/0.1801, allocations: 23.44 kB / 302.6 MB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.1804, allocations: 29.03 kB / 302.6 MB, free: 17.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.1805, allocations: 45.2 kB / 302.7 MB, free: 17.7 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.0002656/0.1807, allocations: 273.3 kB / 303 MB, free: 17.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1809, allocations: 96.22 kB / 303 MB, free: 17.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.181, allocations: 74.77 kB / 303.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.181, allocations: 6.75 kB / 303.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.181, allocations: 0.5156 kB / 303.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.181, allocations: 4.234 kB / 303.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.1831, allocations: 1.374 MB / 304.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1831, allocations: 2.797 kB / 304.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.1835, allocations: 96.7 kB / 304.6 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.1835, allocations: 4.5 kB / 304.6 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.1836, allocations: 9.156 kB / 304.6 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.1836, allocations: 10.88 kB / 304.6 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1836, allocations: 2.531 kB / 304.6 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.1845, allocations: 0.8116 MB / 305.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.1846, allocations: 65.61 kB / 305.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.1846, allocations: 12.5 kB / 305.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.1849, allocations: 21.41 kB / 305.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.185, allocations: 29.03 kB / 305.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.185, allocations: 14.67 kB / 305.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004712/0.1855, allocations: 494.2 kB / 306.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1855, allocations: 0 / 306.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006667/0.1861, allocations: 140.7 kB / 306.2 MB, free: 15.66 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.0001127/0.1862, allocations: 114.1 kB / 306.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007641/0.187, allocations: 453.8 kB / 306.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.187, allocations: 1.656 kB / 306.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.1873, allocations: 159.7 kB / 306.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.1878, allocations: 68.78 kB / 307 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.19, allocations: 1.643 MB / 308.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1905, allocations: 423 kB / 309 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.1907, allocations: 93.89 kB / 309.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.1908, allocations: 68.89 kB / 309.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1908, allocations: 0 / 309.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Templates: time 0.009419/0.2003, allocations: 4.714 MB / 313.9 MB, free: 10.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.925359678920358]