Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 103.5 kB / 21.74 MB, free: 2.688 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002497/0.002497, allocations: 161.6 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.878e-05, allocations: 2.312 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007557/0.007585, allocations: 5.037 MB / 255.4 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.01119, allocations: 1.462 MB / 256.9 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009796/0.01217, allocations: 35.69 kB / 256.9 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.01271, allocations: 221.7 kB / 257.1 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009004/0.01361, allocations: 194 kB / 257.3 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009835/0.0146, allocations: 407.2 kB / 257.7 MB, free: 436 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.01609, allocations: 1.157 MB / 258.9 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.01666, allocations: 316.9 kB / 259.2 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008628/0.01753, allocations: 0.5845 MB / 259.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004487/0.01798, allocations: 298.9 kB / 260.1 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.01811, allocations: 80 kB / 260.1 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.01833, allocations: 107.9 kB / 260.3 MB, free: 13.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.01854, allocations: 215 kB / 260.5 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.01895, allocations: 323 kB / 260.8 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.02054, allocations: 1.164 MB / 261.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.02054, allocations: 0 / 261.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.02055, allocations: 0 / 261.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.02056, allocations: 4 kB / 261.9 MB, free: 12.17 MB / 250.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.002286/0.02285, allocations: 1.41 MB / 263.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.0229, allocations: 15.98 kB / 263.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003147/0.02321, allocations: 215.1 kB / 263.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.02437, allocations: 0.6161 MB / 264.2 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.956e-05/0.02445, allocations: 74 kB / 264.3 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.0246, allocations: 99.95 kB / 264.4 MB, free: 9.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.02692, allocations: 1.209 MB / 265.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.02696, allocations: 7.938 kB / 265.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.02704, allocations: 44 kB / 265.6 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.02707, allocations: 28 kB / 265.7 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.02826, allocations: 0.5383 MB / 266.2 MB, free: 7.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007803/0.03606, allocations: 7.139 MB / 273.3 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.03674, allocations: 229.9 kB / 273.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.03708, allocations: 139.3 kB / 273.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.03721, allocations: 19.98 kB / 273.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.03725, allocations: 33.39 kB / 273.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.03725, allocations: 4 kB / 273.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.004373/0.04162, allocations: 1.578 MB / 275.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.0417, allocations: 85.11 kB / 275.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.04277, allocations: 0.8116 MB / 276.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.04281, allocations: 37.7 kB / 276.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.04342, allocations: 0.6852 MB / 276.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.0436, allocations: 166.7 kB / 277.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.04383, allocations: 156.2 kB / 277.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003822/0.04422, allocations: 0.5937 MB / 277.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.04454, allocations: 137.9 kB / 278 MB, free: 11.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.04564, allocations: 0.6437 MB / 278.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.04697, allocations: 0.8614 MB / 279.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.04698, allocations: 4 kB / 279.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001377/0.04835, allocations: 0.739 MB / 280.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.04838, allocations: 12 kB / 280.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.04841, allocations: 12 kB / 280.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.675e-05/0.04844, allocations: 16 kB / 280.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.04912, allocations: 192.2 kB / 280.5 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/0.04915, allocations: 27.92 kB / 280.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.04954, allocations: 28 kB / 280.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.0496, allocations: 40 kB / 280.6 MB, free: 8.355 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.0004541/0.05005, allocations: 276.1 kB / 280.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.0502, allocations: 95.48 kB / 280.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.05036, allocations: 74.55 kB / 281 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.05038, allocations: 7.984 kB / 281 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.05038, allocations: 0 / 281 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.05039, allocations: 3.984 kB / 281 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.05279, allocations: 1.381 MB / 282.4 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.0528, allocations: 4 kB / 282.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.05325, allocations: 95.86 kB / 282.5 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.05326, allocations: 4 kB / 282.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.0533, allocations: 16.16 kB / 282.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.05331, allocations: 7.938 kB / 282.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.05331, allocations: 0 / 282.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.05448, allocations: 0.7936 MB / 283.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.05459, allocations: 71.47 kB / 283.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.05465, allocations: 8 kB / 283.4 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.05493, allocations: 27.98 kB / 283.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.05501, allocations: 35.83 kB / 283.4 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.05503, allocations: 8 kB / 283.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006108/0.05565, allocations: 494.9 kB / 283.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05565, allocations: 0 / 283.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006722/0.05632, allocations: 140 kB / 284.1 MB, free: 4.723 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.0001463/0.05646, allocations: 103.2 kB / 284.2 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008844/0.05735, allocations: 452.6 kB / 284.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.05735, allocations: 0 / 284.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.05764, allocations: 163.1 kB / 284.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.05817, allocations: 78.94 kB / 284.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.06111, allocations: 1.623 MB / 286.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.06162, allocations: 424.7 kB / 286.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000245/0.06187, allocations: 90 kB / 287 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.06203, allocations: 76.47 kB / 287.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.06203, allocations: 0 / 287.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of Templates: time 0.01264/0.07467, allocations: 4.693 MB / 291.7 MB, free: 12.99 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.899194851983339]