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.001417/0.001417, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001765/0.001765, allocations: 160.5 kB / 24.56 MB, free: 8 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.011/1.011, allocations: 177 MB / 204.8 MB, free: 5.172 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 1.653e-06/1.653e-06, allocations: 0 / 272.9 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.293e-05, allocations: 5.266 kB / 272.9 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005032/0.005055, allocations: 5.153 MB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.007475, allocations: 1.5 MB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.008014, allocations: 35.69 kB / 279.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.008425, allocations: 221.7 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000547/0.008972, allocations: 209.9 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/0.009714, allocations: 423.2 kB / 280.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009784/0.01069, allocations: 1.153 MB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.01111, allocations: 316.9 kB / 281.9 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006977/0.01181, allocations: 0.5962 MB / 282.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.01211, allocations: 298.9 kB / 282.8 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/0.0122, allocations: 88 kB / 282.9 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.01235, allocations: 99.94 kB / 283 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01246, allocations: 219 kB / 283.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.01267, allocations: 319 kB / 283.5 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.01333, allocations: 0.7855 MB / 284.3 MB, free: 5.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01333, allocations: 0 / 284.3 MB, free: 5.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01334, allocations: 0 / 284.3 MB, free: 5.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.01335, allocations: 0 / 284.3 MB, free: 5.797 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.001264/0.01461, allocations: 1.367 MB / 285.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.01465, allocations: 11.98 kB / 285.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.01494, allocations: 227.1 kB / 285.9 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006556/0.01559, allocations: 0.6239 MB / 286.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.01563, allocations: 70 kB / 286.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.01572, allocations: 104 kB / 286.7 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.01669, allocations: 1.042 MB / 287.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.01672, allocations: 11.89 kB / 287.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.01677, allocations: 44 kB / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.01679, allocations: 28 kB / 287.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.01734, allocations: 387.2 kB / 288.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/0.1396, allocations: 6.862 MB / 295.1 MB, free: 20 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.14, allocations: 187.9 kB / 295.3 MB, free: 19.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1402, allocations: 115.9 kB / 295.4 MB, free: 19.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.453e-05/0.1403, allocations: 15.06 kB / 295.4 MB, free: 19.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1403, allocations: 41.11 kB / 295.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/0.1403, allocations: 0 / 295.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002192/0.1425, allocations: 1.364 MB / 296.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.1426, allocations: 89.45 kB / 296.9 MB, free: 19.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.1431, allocations: 0.6694 MB / 297.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1431, allocations: 33.73 kB / 297.6 MB, free: 18.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.1434, allocations: 0.6627 MB / 298.2 MB, free: 18.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.1434, allocations: 152.6 kB / 298.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1435, allocations: 139.8 kB / 298.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1437, allocations: 0.5558 MB / 299.1 MB, free: 18.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1438, allocations: 80.23 kB / 299.2 MB, free: 18.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.144, allocations: 0.5655 MB / 299.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.1445, allocations: 0.7216 MB / 300.4 MB, free: 16.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.1445, allocations: 4.953 kB / 300.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000941/0.1455, allocations: 0.6185 MB / 301.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.1455, allocations: 9.812 kB / 301.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.1455, allocations: 17.95 kB / 301.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.994e-05/0.1456, allocations: 16.78 kB / 301.1 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.1461, allocations: 192 kB / 301.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-05/0.1461, allocations: 27.42 kB / 301.3 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.1463, allocations: 31.06 kB / 301.4 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.1464, allocations: 40.05 kB / 301.4 MB, free: 16.63 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.0001786/0.1466, allocations: 220.1 kB / 301.6 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.1467, allocations: 89.86 kB / 301.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.886e-05/0.1467, allocations: 77.38 kB / 301.8 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1467, allocations: 4.281 kB / 301.8 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.1468, allocations: 1.094 kB / 301.8 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.1468, allocations: 8.125 kB / 301.8 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1481, allocations: 1.14 MB / 302.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1481, allocations: 2.062 kB / 302.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.1483, allocations: 102.7 kB / 303 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1483, allocations: 2.75 kB / 303 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1484, allocations: 10.7 kB / 303 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1484, allocations: 3.5 kB / 303 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1484, allocations: 5.891 kB / 303.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.1488, allocations: 0.653 MB / 303.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.1489, allocations: 68.92 kB / 303.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.1489, allocations: 12.88 kB / 303.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1491, allocations: 22.39 kB / 303.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.1492, allocations: 28.3 kB / 303.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.1492, allocations: 14.56 kB / 303.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003546/0.1495, allocations: 416.6 kB / 304.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1495, allocations: 0 / 304.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005236/0.1501, allocations: 137.2 kB / 304.4 MB, free: 14.87 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.0001067/0.1502, allocations: 109.2 kB / 304.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.1506, allocations: 324.5 kB / 304.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1506, allocations: 1.375 kB / 304.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1507, allocations: 125.5 kB / 304.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1511, allocations: 78.81 kB / 305 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1531, allocations: 1.574 MB / 306.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.1532, allocations: 167 kB / 306.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.1534, allocations: 95.14 kB / 306.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1535, allocations: 69.25 kB / 306.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1535, allocations: 0 / 306.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of Templates: time 0.008268/0.1618, allocations: 4.716 MB / 311.6 MB, free: 11.99 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: 3.1482603177428246]