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.0009251/0.0009251, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009683/0.0009683, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9243/0.9243, allocations: 177 MB / 205.2 MB, free: 5.043 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.852e-05, allocations: 5.125 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006263/0.006281, allocations: 5.046 MB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.009854, allocations: 1.562 MB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.01035, allocations: 35.69 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.01081, allocations: 217.7 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006646/0.01147, allocations: 221.6 kB / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.01244, allocations: 419.2 kB / 280.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.0138, allocations: 1.149 MB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.01436, allocations: 332.8 kB / 282.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008446/0.0152, allocations: 0.604 MB / 283 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.0156, allocations: 294.9 kB / 283.3 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.01573, allocations: 84 kB / 283.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.01591, allocations: 103.9 kB / 283.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.01607, allocations: 219 kB / 283.7 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.01638, allocations: 319 kB / 284 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008452/0.01722, allocations: 0.7855 MB / 284.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01722, allocations: 0 / 284.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01723, allocations: 0 / 284.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.01724, allocations: 0 / 284.8 MB, free: 5.609 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.001566/0.0188, allocations: 1.25 MB / 286 MB, free: 4.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.01884, allocations: 15.98 kB / 286 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/0.01919, allocations: 171.9 kB / 286.2 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008961/0.02009, allocations: 0.5471 MB / 286.7 MB, free: 3.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.02015, allocations: 74 kB / 286.8 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.02027, allocations: 96 kB / 286.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.02147, allocations: 0.9212 MB / 287.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.02151, allocations: 11.89 kB / 287.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.02157, allocations: 40 kB / 287.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.0216, allocations: 28 kB / 287.9 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.02231, allocations: 301.3 kB / 288.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/0.1322, allocations: 4.783 MB / 293 MB, free: 22.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.1325, allocations: 153.6 kB / 293.1 MB, free: 22.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1326, allocations: 88.97 kB / 293.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.547e-05/0.1327, allocations: 13.62 kB / 293.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1327, allocations: 36.97 kB / 293.3 MB, free: 21.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.1327, allocations: 0.5 kB / 293.3 MB, free: 21.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00182/0.1345, allocations: 1.087 MB / 294.4 MB, free: 21.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.1346, allocations: 86.53 kB / 294.4 MB, free: 21.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.1349, allocations: 0.6035 MB / 295 MB, free: 21.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.135, allocations: 33.86 kB / 295.1 MB, free: 21.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1351, allocations: 0.5292 MB / 295.6 MB, free: 21.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.1352, allocations: 156.1 kB / 295.8 MB, free: 21.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.1353, allocations: 137.1 kB / 295.9 MB, free: 21.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.1354, allocations: 393.4 kB / 296.3 MB, free: 20.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/0.1354, allocations: 59.55 kB / 296.3 MB, free: 20.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1356, allocations: 414.2 kB / 296.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.1359, allocations: 0.5625 MB / 297.3 MB, free: 19.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.1359, allocations: 3.25 kB / 297.3 MB, free: 19.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004283/0.1363, allocations: 482.4 kB / 297.8 MB, free: 19.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1363, allocations: 14.23 kB / 297.8 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.1363, allocations: 16.39 kB / 297.8 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.1364, allocations: 16.34 kB / 297.8 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.1367, allocations: 195.7 kB / 298 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.1367, allocations: 22.92 kB / 298 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.1369, allocations: 31.22 kB / 298.1 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1369, allocations: 34.03 kB / 298.1 MB, free: 19.8 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.0001105/0.137, allocations: 162.3 kB / 298.3 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.1371, allocations: 58.17 kB / 298.3 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.1371, allocations: 79.8 kB / 298.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1371, allocations: 5.875 kB / 298.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1372, allocations: 1.594 kB / 298.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1372, allocations: 4.625 kB / 298.4 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.1379, allocations: 0.7921 MB / 299.2 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1379, allocations: 2.469 kB / 299.2 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.1381, allocations: 95.8 kB / 299.3 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1382, allocations: 2.781 kB / 299.3 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1382, allocations: 13.62 kB / 299.3 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1382, allocations: 3.438 kB / 299.3 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1382, allocations: 6.844 kB / 299.3 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.1385, allocations: 460.4 kB / 299.8 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.1385, allocations: 63.83 kB / 299.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.1385, allocations: 9.969 kB / 299.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1387, allocations: 21.19 kB / 299.9 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1387, allocations: 30.77 kB / 299.9 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1387, allocations: 11.44 kB / 299.9 MB, free: 18.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001998/0.1389, allocations: 280.2 kB / 300.2 MB, free: 18.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1389, allocations: 0 / 300.2 MB, free: 18.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.1393, allocations: 140.2 kB / 300.3 MB, free: 18.95 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 7.978e-05/0.1394, allocations: 94.22 kB / 300.4 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.1397, allocations: 283.4 kB / 300.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/0.1397, allocations: 11.53 kB / 300.7 MB, free: 18.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.43e-05/0.1398, allocations: 101.2 kB / 300.8 MB, free: 18.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.14, allocations: 77.7 kB / 300.9 MB, free: 18.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1416, allocations: 1.492 MB / 302.4 MB, free: 17.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.1417, allocations: 167.3 kB / 302.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.1419, allocations: 96.33 kB / 302.6 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.142, allocations: 162.6 kB / 302.8 MB, free: 17.82 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.142, allocations: 0 / 302.8 MB, free: 17.82 MB / 266.7 MB Notification: Performance of Templates: time 0.007835/0.1499, allocations: 5.029 MB / 307.8 MB, free: 16.25 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.6535359229892492]