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.001175/0.001175, allocations: 85.8 kB / 21.42 MB, free: 3.07 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.001125/0.001125, allocations: 164.2 kB / 24.82 MB, free: 8.324 MB / 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.048/1.048, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 3.065e-06/3.065e-06, allocations: 4 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.421e-05, allocations: 6.312 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00438/0.004404, allocations: 5.036 MB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.007034, allocations: 1.492 MB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.007498, allocations: 39.69 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.007868, allocations: 221.8 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.008403, allocations: 221.6 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.009117, allocations: 423.2 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008848/0.01, allocations: 1.161 MB / 281.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.0104, allocations: 316.9 kB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.01099, allocations: 0.5963 MB / 282.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.01126, allocations: 298.9 kB / 283.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/0.01134, allocations: 80 kB / 283.2 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.01149, allocations: 111.9 kB / 283.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.01159, allocations: 219 kB / 283.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.01178, allocations: 323 kB / 283.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.01241, allocations: 0.7701 MB / 284.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01241, allocations: 0 / 284.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01241, allocations: 0 / 284.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.01242, allocations: 0 / 284.6 MB, free: 5.859 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.001199/0.01362, allocations: 1.387 MB / 286 MB, free: 4.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.01366, allocations: 15.98 kB / 286 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.01394, allocations: 227.1 kB / 286.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.01457, allocations: 0.6162 MB / 286.9 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.01462, allocations: 77.94 kB / 286.9 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.831e-05/0.01471, allocations: 96 kB / 287 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.01562, allocations: 0.9989 MB / 288 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.01565, allocations: 11.89 kB / 288 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.0157, allocations: 44 kB / 288.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.01572, allocations: 24 kB / 288.1 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.01612, allocations: 325.2 kB / 288.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.134/0.1502, allocations: 6.743 MB / 295.2 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.1505, allocations: 180 kB / 295.3 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1506, allocations: 98.91 kB / 295.4 MB, free: 20.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.1507, allocations: 17.27 kB / 295.5 MB, free: 20.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1507, allocations: 40.7 kB / 295.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 3.447e-06/0.1507, allocations: 0.5312 kB / 295.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001851/0.1526, allocations: 1.038 MB / 296.5 MB, free: 19.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.1526, allocations: 85.42 kB / 296.6 MB, free: 19.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.1531, allocations: 0.6637 MB / 297.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1531, allocations: 32.05 kB / 297.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.1534, allocations: 0.6619 MB / 298 MB, free: 19.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.1536, allocations: 161 kB / 298.1 MB, free: 18.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.1537, allocations: 141.1 kB / 298.3 MB, free: 18.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1538, allocations: 0.5667 MB / 298.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1539, allocations: 62.02 kB / 298.9 MB, free: 18.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.1542, allocations: 0.5504 MB / 299.4 MB, free: 17.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.1546, allocations: 0.6938 MB / 300.1 MB, free: 17.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1546, allocations: 3.375 kB / 300.1 MB, free: 17.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006664/0.1553, allocations: 0.5809 MB / 300.7 MB, free: 17.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1553, allocations: 9.969 kB / 300.7 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.1553, allocations: 11.81 kB / 300.7 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.1554, allocations: 18.44 kB / 300.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.1558, allocations: 197.3 kB / 301 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.1558, allocations: 23.5 kB / 301 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.156, allocations: 29.84 kB / 301 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.156, allocations: 29.78 kB / 301 MB, free: 17.01 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.000149/0.1562, allocations: 219.9 kB / 301.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.1563, allocations: 92.66 kB / 301.3 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.44e-05/0.1564, allocations: 73.64 kB / 301.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1564, allocations: 4.156 kB / 301.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1564, allocations: 1.219 kB / 301.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1564, allocations: 2.953 kB / 301.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1575, allocations: 1.013 MB / 302.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1575, allocations: 10.19 kB / 302.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.1578, allocations: 102.1 kB / 302.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1578, allocations: 2.844 kB / 302.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1578, allocations: 9.406 kB / 302.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1578, allocations: 3.531 kB / 302.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1578, allocations: 3.219 kB / 302.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.1582, allocations: 0.6242 MB / 303.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.1583, allocations: 73.38 kB / 303.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.1583, allocations: 11.44 kB / 303.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1585, allocations: 21.8 kB / 303.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1586, allocations: 31.88 kB / 303.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1586, allocations: 11.58 kB / 303.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.1589, allocations: 388.4 kB / 303.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1589, allocations: 0 / 303.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.1594, allocations: 134.3 kB / 303.8 MB, free: 15.65 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.0001237/0.1595, allocations: 119.4 kB / 304 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.1599, allocations: 302.7 kB / 304.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1599, allocations: 1.812 kB / 304.3 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.16, allocations: 100.8 kB / 304.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1604, allocations: 76.61 kB / 304.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.1624, allocations: 1.569 MB / 306 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.1625, allocations: 168.4 kB / 306.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.1627, allocations: 96.22 kB / 306.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.1629, allocations: 194.2 kB / 306.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1629, allocations: 0 / 306.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of Templates: time 0.01092/0.1739, allocations: 5.106 MB / 311.6 MB, free: 12.63 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] 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","",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.922761259134859]