Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.001468/0.001468, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001555/0.001555, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.051 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.606e-05, allocations: 2.312 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004201/0.004227, allocations: 2.9 MB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.005782, allocations: 0.7279 MB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.005971, allocations: 8 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.00617, allocations: 55.44 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.006356, allocations: 99.06 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.00664, allocations: 99.8 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.007013, allocations: 394.7 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.007278, allocations: 119.4 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.007694, allocations: 235.4 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.007871, allocations: 115.7 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.007917, allocations: 32 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.169e-05/0.007959, allocations: 32 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.008016, allocations: 79.72 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.008126, allocations: 119.7 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.008489, allocations: 251.1 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.008495, allocations: 0 / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.008496, allocations: 0 / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.008503, allocations: 0 / 278.7 MB, free: 11.76 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006877/0.00919, allocations: 0.5273 MB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.009229, allocations: 11.98 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.009311, allocations: 48.91 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.009557, allocations: 173.3 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.009581, allocations: 25.03 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.009631, allocations: 40.38 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.01054, allocations: 266.6 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.01055, allocations: 192 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.01057, allocations: 16.38 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.01058, allocations: 11.94 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.01071, allocations: 76.55 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.01174, allocations: 0.7123 MB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.0119, allocations: 94.39 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.01202, allocations: 73.16 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.01204, allocations: 7.953 kB / 280.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.01207, allocations: 38.56 kB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.755e-06/0.01208, allocations: 4 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000251/0.01233, allocations: 105.6 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.01235, allocations: 55.41 kB / 280.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.01249, allocations: 194.8 kB / 281.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.0125, allocations: 29.7 kB / 281.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.01259, allocations: 192.2 kB / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.01264, allocations: 75.36 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.01271, allocations: 49.97 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01281, allocations: 330.8 kB / 281.8 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.01286, allocations: 28.55 kB / 281.8 MB, free: 8.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.637e-05/0.01295, allocations: 110.9 kB / 281.9 MB, free: 8.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.01311, allocations: 141.2 kB / 282.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.01311, allocations: 0 / 282.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002355/0.01335, allocations: 169.4 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.01337, allocations: 4 kB / 282.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.01338, allocations: 4 kB / 282.2 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01339, allocations: 4 kB / 282.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.01371, allocations: 84.06 kB / 282.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01372, allocations: 8 kB / 282.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/0.01382, allocations: 27.78 kB / 282.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01383, allocations: 12 kB / 282.4 MB, free: 7.805 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 9.344e-05/0.01393, allocations: 125.8 kB / 282.5 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.01396, allocations: 19.92 kB / 282.5 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.01414, allocations: 119.4 kB / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01414, allocations: 0 / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01414, allocations: 0 / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.01415, allocations: 0 / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.01457, allocations: 359.4 kB / 283 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.01458, allocations: 3.984 kB / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.01481, allocations: 69.02 kB / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.01482, allocations: 0 / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01483, allocations: 8 kB / 283.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01483, allocations: 7.938 kB / 283.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01484, allocations: 4 kB / 283.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.01508, allocations: 257.1 kB / 283.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.0151, allocations: 23.86 kB / 283.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.01513, allocations: 8 kB / 283.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.01523, allocations: 11.98 kB / 283.4 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.01528, allocations: 19.91 kB / 283.4 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01529, allocations: 4 kB / 283.4 MB, free: 6.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.01534, allocations: 48.81 kB / 283.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01534, allocations: 0 / 283.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.01562, allocations: 83.72 kB / 283.5 MB, free: 6.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.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 (21): * Single equations (assignments): 21 * 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.0001138/0.01573, allocations: 96.39 kB / 283.6 MB, free: 6.484 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.01589, allocations: 108.6 kB / 283.7 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.0159, allocations: 0 / 283.7 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.052e-05/0.01596, allocations: 56.7 kB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.01619, allocations: 32.55 kB / 283.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.01721, allocations: 0.6008 MB / 284.4 MB, free: 5.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.868e-05/0.01727, allocations: 92.33 kB / 284.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.9e-05/0.01735, allocations: 25.94 kB / 284.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.01746, allocations: 91.36 kB / 284.6 MB, free: 5.43 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01746, allocations: 0 / 284.6 MB, free: 5.43 MB / 266.7 MB Notification: Performance of Templates: time 0.005079/0.02254, allocations: 2.105 MB / 286.7 MB, free: 3.367 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.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.7746309973299503]