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.0009545/0.0009545, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.00239, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008701/0.0008701, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001951, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9605/0.9605, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1466/1.107, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.262e-06/1.262e-06, allocations: 0 / 222 MB, free: 40 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.79e-05, allocations: 5.406 kB / 222 MB, free: 36 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004342/0.00436, allocations: 5.057 MB / 227.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.00632, allocations: 1.535 MB / 228.6 MB, free: 9.402 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.00674, allocations: 39.69 kB / 228.6 MB, free: 9.363 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.007134, allocations: 221.7 kB / 228.9 MB, free: 9.145 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.007608, allocations: 217.7 kB / 229.1 MB, free: 8.93 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.008277, allocations: 399.2 kB / 229.5 MB, free: 8.539 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.009342, allocations: 1.13 MB / 230.6 MB, free: 7.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004789/0.009821, allocations: 332.8 kB / 230.9 MB, free: 7.055 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008241/0.01065, allocations: 0.632 MB / 231.5 MB, free: 6.422 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.011, allocations: 294.9 kB / 231.8 MB, free: 6.133 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.01112, allocations: 84 kB / 231.9 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.01133, allocations: 99.98 kB / 232 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.01145, allocations: 163.2 kB / 232.2 MB, free: 5.793 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.0117, allocations: 263.3 kB / 232.4 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.01274, allocations: 0.7194 MB / 233.2 MB, free: 4.812 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.01275, allocations: 7.938 kB / 233.2 MB, free: 4.805 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01275, allocations: 0 / 233.2 MB, free: 4.805 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.01277, allocations: 7.938 kB / 233.2 MB, free: 4.797 MB / 234.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.001532/0.01431, allocations: 1.449 MB / 234.6 MB, free: 3.316 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.01434, allocations: 12.03 kB / 234.6 MB, free: 3.305 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.01452, allocations: 159.9 kB / 234.8 MB, free: 3.148 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.01529, allocations: 0.5392 MB / 235.3 MB, free: 2.578 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.01534, allocations: 77.98 kB / 235.4 MB, free: 2.504 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.01544, allocations: 104 kB / 235.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.01652, allocations: 1 MB / 236.5 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.01655, allocations: 7.938 kB / 236.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.0166, allocations: 48 kB / 236.6 MB, free: 1.188 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.01663, allocations: 24 kB / 236.6 MB, free: 1.164 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.01713, allocations: 305.3 kB / 236.9 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.02063, allocations: 4.788 MB / 241.7 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.02096, allocations: 152.9 kB / 241.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.0211, allocations: 89.67 kB / 241.9 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.465e-05/0.02116, allocations: 19.98 kB / 241.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.02119, allocations: 34.78 kB / 242 MB, free: 11.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.0212, allocations: 4 kB / 242 MB, free: 11.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002342/0.02354, allocations: 1.105 MB / 243.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.02357, allocations: 81.11 kB / 243.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.02402, allocations: 0.6049 MB / 243.8 MB, free: 9.621 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.02405, allocations: 29.7 kB / 243.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.02431, allocations: 0.5314 MB / 244.3 MB, free: 9.047 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/0.02441, allocations: 162.6 kB / 244.5 MB, free: 8.887 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.02454, allocations: 134.5 kB / 244.6 MB, free: 8.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.02467, allocations: 394.6 kB / 245 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.02476, allocations: 61.97 kB / 245 MB, free: 8.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.02503, allocations: 417.3 kB / 245.5 MB, free: 7.719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.02552, allocations: 0.5851 MB / 246 MB, free: 6.973 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.02553, allocations: 4 kB / 246 MB, free: 6.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005456/0.02608, allocations: 481 kB / 246.5 MB, free: 6.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.0261, allocations: 8 kB / 246.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.02611, allocations: 12 kB / 246.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.02614, allocations: 16 kB / 246.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/0.02668, allocations: 236.2 kB / 246.8 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000251/0.02693, allocations: 23.92 kB / 246.8 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.02718, allocations: 28 kB / 246.8 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.02721, allocations: 35.98 kB / 246.9 MB, free: 6.141 MB / 250.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.0001548/0.02737, allocations: 165.5 kB / 247 MB, free: 5.969 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.02745, allocations: 55.88 kB / 247.1 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.39e-05/0.02754, allocations: 74.56 kB / 247.2 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.02754, allocations: 11.98 kB / 247.2 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.02755, allocations: 0 / 247.2 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.02755, allocations: 3.984 kB / 247.2 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.02856, allocations: 0.7946 MB / 248 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.02856, allocations: 4 kB / 248 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.02889, allocations: 123.4 kB / 248.1 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.02895, allocations: 59.53 kB / 248.1 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.02896, allocations: 4 kB / 248.2 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.02898, allocations: 11.98 kB / 248.2 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.02899, allocations: 7.938 kB / 248.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.02899, allocations: 3.938 kB / 248.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.02939, allocations: 458.7 kB / 248.6 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.02943, allocations: 11.94 kB / 248.6 MB, free: 4.281 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.02962, allocations: 23.92 kB / 248.7 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.02968, allocations: 39.88 kB / 248.7 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.02969, allocations: 8 kB / 248.7 MB, free: 4.211 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000222/0.02991, allocations: 272.5 kB / 249 MB, free: 3.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02991, allocations: 0 / 249 MB, free: 3.945 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005174/0.03043, allocations: 140 kB / 249.1 MB, free: 3.809 MB / 250.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.0001069/0.03054, allocations: 92.3 kB / 249.2 MB, free: 3.711 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.03089, allocations: 302.5 kB / 249.5 MB, free: 3.422 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.331e-05/0.03091, allocations: 12.5 kB / 249.5 MB, free: 3.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.03106, allocations: 124.7 kB / 249.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.03169, allocations: 0.5171 MB / 250.1 MB, free: 2.695 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.03599, allocations: 1.674 MB / 251.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.03614, allocations: 194.2 kB / 252 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.03635, allocations: 94.05 kB / 252.1 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.03658, allocations: 171.3 kB / 252.3 MB, free: 500 kB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03659, allocations: 0 / 252.3 MB, free: 500 kB / 250.7 MB Notification: Performance of Templates: time 0.01104/0.04762, allocations: 4.986 MB / 257.3 MB, free: 11.53 MB / 266.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 -ignoreHideResult -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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6743250405415893]