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.001375/0.001375, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001729/0.001729, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.9614/0.9614, allocations: 177 MB / 205.9 MB, free: 4.457 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.723e-06/1.723e-06, allocations: 0 / 274.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.672e-05, allocations: 2.312 kB / 274.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006873/0.0069, allocations: 5.043 MB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.01074, allocations: 1.494 MB / 280.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.01174, allocations: 35.69 kB / 280.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.01233, allocations: 221.8 kB / 280.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008111/0.01314, allocations: 229.6 kB / 281.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.01422, allocations: 423.2 kB / 281.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.01563, allocations: 1.157 MB / 282.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/0.01624, allocations: 308.9 kB / 283 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009856/0.01723, allocations: 0.604 MB / 283.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004814/0.01771, allocations: 294.9 kB / 283.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.01787, allocations: 84 kB / 284 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.01807, allocations: 103.9 kB / 284.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.01824, allocations: 219 kB / 284.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.01858, allocations: 327 kB / 284.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.01973, allocations: 0.7739 MB / 285.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.01973, allocations: 0 / 285.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01974, allocations: 0 / 285.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.01976, allocations: 0 / 285.4 MB, free: 8.922 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.00186/0.02162, allocations: 1.387 MB / 286.8 MB, free: 7.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.02166, allocations: 8.031 kB / 286.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/0.02211, allocations: 227.1 kB / 287 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.02316, allocations: 0.6162 MB / 287.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.02323, allocations: 74 kB / 287.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.02335, allocations: 100 kB / 287.8 MB, free: 6.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.02468, allocations: 0.995 MB / 288.8 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.02472, allocations: 7.938 kB / 288.8 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.02479, allocations: 40 kB / 288.9 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.02482, allocations: 28 kB / 288.9 MB, free: 5.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007046/0.02552, allocations: 321.2 kB / 289.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004882/0.0304, allocations: 6.757 MB / 296 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.0307, allocations: 181.9 kB / 296.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.03082, allocations: 99.52 kB / 296.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.407e-05/0.03089, allocations: 15.98 kB / 296.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.03091, allocations: 41.39 kB / 296.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.03091, allocations: 0 / 296.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.002547/0.03346, allocations: 1.041 MB / 297.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.03351, allocations: 81.11 kB / 297.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.03407, allocations: 0.6627 MB / 298.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.0341, allocations: 33.7 kB / 298.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.03446, allocations: 0.6617 MB / 298.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.03456, allocations: 158.7 kB / 298.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.03471, allocations: 140.2 kB / 299.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.03492, allocations: 0.5662 MB / 299.6 MB, free: 9.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.03504, allocations: 65.92 kB / 299.7 MB, free: 9.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.0354, allocations: 0.5577 MB / 300.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.036, allocations: 0.694 MB / 300.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.03601, allocations: 4 kB / 300.9 MB, free: 8.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007421/0.03675, allocations: 0.5759 MB / 301.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.03677, allocations: 8 kB / 301.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.03678, allocations: 16 kB / 301.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.0368, allocations: 19.98 kB / 301.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.03714, allocations: 195.7 kB / 301.8 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.03715, allocations: 24.33 kB / 301.8 MB, free: 7.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.03733, allocations: 32 kB / 301.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.03736, allocations: 35.98 kB / 301.8 MB, free: 7.297 MB / 282.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.0001509/0.03751, allocations: 208.2 kB / 302 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.0376, allocations: 99.42 kB / 302.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/0.03767, allocations: 70.64 kB / 302.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.03767, allocations: 4 kB / 302.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.03767, allocations: 4 kB / 302.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.03768, allocations: 3.984 kB / 302.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/0.03867, allocations: 1.004 MB / 303.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.03868, allocations: 4 kB / 303.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.0389, allocations: 95.88 kB / 303.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.03891, allocations: 4 kB / 303.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.03892, allocations: 8 kB / 303.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.03893, allocations: 0 / 303.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.03893, allocations: 12.09 kB / 303.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.03937, allocations: 0.6217 MB / 304 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.03942, allocations: 71.41 kB / 304 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.03946, allocations: 12 kB / 304.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.0396, allocations: 19.98 kB / 304.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.03965, allocations: 31.89 kB / 304.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.03967, allocations: 15.98 kB / 304.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002072/0.03987, allocations: 378.8 kB / 304.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03987, allocations: 8 kB / 304.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004064/0.04028, allocations: 139.9 kB / 304.6 MB, free: 4.398 MB / 282.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.0001116/0.04039, allocations: 111.1 kB / 304.7 MB, free: 4.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.04069, allocations: 307.7 kB / 305 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.0407, allocations: 8 kB / 305.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/0.04079, allocations: 99.92 kB / 305.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.04116, allocations: 75.3 kB / 305.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.04301, allocations: 1.573 MB / 306.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.04312, allocations: 162.4 kB / 307 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.04328, allocations: 94 kB / 307 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.04347, allocations: 190.1 kB / 307.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04347, allocations: 0 / 307.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of Templates: time 0.008897/0.05236, allocations: 5.234 MB / 312.5 MB, free: 12.56 MB / 298.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.912298595998436]