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.001957/0.001957, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002052/0.002052, allocations: 160.8 kB / 24.27 MB, free: 156 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.576/1.576, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.453e-06/1.453e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.844e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007975/0.008003, allocations: 5.098 MB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.01147, allocations: 1.496 MB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.01206, allocations: 31.75 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005853/0.01265, allocations: 233.7 kB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006989/0.01335, allocations: 209.8 kB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/0.01428, allocations: 423.2 kB / 279.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.01572, allocations: 1.149 MB / 280.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.01639, allocations: 312.9 kB / 281.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.01745, allocations: 0.5963 MB / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007684/0.01822, allocations: 294.9 kB / 282 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.01836, allocations: 84 kB / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.0186, allocations: 107.9 kB / 282.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.01883, allocations: 215 kB / 282.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.01922, allocations: 331 kB / 282.8 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.02071, allocations: 1.164 MB / 283.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.02071, allocations: 0 / 283.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02072, allocations: 0 / 283.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.02073, allocations: 0 / 283.9 MB, free: 6.02 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.002287/0.02302, allocations: 1.433 MB / 285.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.02306, allocations: 11.98 kB / 285.4 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00048/0.02354, allocations: 231.1 kB / 285.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.02477, allocations: 0.6279 MB / 286.2 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.02486, allocations: 74 kB / 286.3 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.02501, allocations: 99.98 kB / 286.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.02702, allocations: 1.205 MB / 287.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.02706, allocations: 4 kB / 287.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/0.02714, allocations: 44 kB / 287.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.02717, allocations: 31.98 kB / 287.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.0284, allocations: 0.5422 MB / 288.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1144/0.1428, allocations: 7.122 MB / 295.3 MB, free: 22.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.1433, allocations: 231.7 kB / 295.6 MB, free: 22.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.1436, allocations: 141 kB / 295.7 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.1437, allocations: 13.92 kB / 295.7 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1438, allocations: 41.22 kB / 295.8 MB, free: 22.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.1438, allocations: 0.6562 kB / 295.8 MB, free: 22.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.003609/0.1474, allocations: 1.578 MB / 297.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.1474, allocations: 83.19 kB / 297.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009031/0.1483, allocations: 0.8141 MB / 298.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1483, allocations: 36.8 kB / 298.3 MB, free: 21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.1487, allocations: 0.6867 MB / 299 MB, free: 20.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1488, allocations: 161.2 kB / 299.1 MB, free: 20.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.149, allocations: 160.4 kB / 299.3 MB, free: 20.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1492, allocations: 0.5937 MB / 299.9 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.1496, allocations: 144.8 kB / 300 MB, free: 19.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.15, allocations: 0.6465 MB / 300.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007375/0.1508, allocations: 0.8518 MB / 301.5 MB, free: 18.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.1508, allocations: 4.094 kB / 301.5 MB, free: 18.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001049/0.1518, allocations: 0.7341 MB / 302.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1518, allocations: 9.75 kB / 302.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.1519, allocations: 13.73 kB / 302.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/0.1519, allocations: 16.91 kB / 302.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.1525, allocations: 194.3 kB / 302.5 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/0.1525, allocations: 22.59 kB / 302.5 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.1529, allocations: 32.62 kB / 302.5 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.1529, allocations: 45.08 kB / 302.6 MB, free: 17.79 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.0002669/0.1532, allocations: 277.3 kB / 302.8 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.1533, allocations: 94.31 kB / 302.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.1535, allocations: 73.53 kB / 303 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.1535, allocations: 6.156 kB / 303 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1535, allocations: 0 / 303 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1535, allocations: 7.422 kB / 303 MB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.1556, allocations: 1.372 MB / 304.4 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1556, allocations: 2.375 kB / 304.4 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.156, allocations: 100.6 kB / 304.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.156, allocations: 7.438 kB / 304.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.1561, allocations: 10.5 kB / 304.5 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.1561, allocations: 3.469 kB / 304.5 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1561, allocations: 2.281 kB / 304.5 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.1569, allocations: 0.8035 MB / 305.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.157, allocations: 69 kB / 305.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.1571, allocations: 9.094 kB / 305.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.1574, allocations: 26.69 kB / 305.4 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.1575, allocations: 28.28 kB / 305.4 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.1575, allocations: 19.7 kB / 305.5 MB, free: 16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005063/0.158, allocations: 494.1 kB / 305.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.158, allocations: 0 / 305.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006758/0.1587, allocations: 137.1 kB / 306.1 MB, free: 15.75 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.0001092/0.1588, allocations: 107.7 kB / 306.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.1595, allocations: 451.2 kB / 306.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1596, allocations: 5.5 kB / 306.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.1598, allocations: 160.8 kB / 306.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.1603, allocations: 78.92 kB / 306.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.1626, allocations: 1.634 MB / 308.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.1631, allocations: 422.1 kB / 308.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.1633, allocations: 95.19 kB / 309 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1635, allocations: 69.62 kB / 309.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1635, allocations: 0 / 309.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Templates: time 0.009627/0.1731, allocations: 4.708 MB / 313.8 MB, free: 11.07 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6590691490564495]