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.002002/0.002002, allocations: 96.31 kB / 21.73 MB, free: 2.68 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.002269/0.002269, allocations: 161.2 kB / 25.02 MB, free: 8.449 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.71/1.71, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.683e-06/1.683e-06, allocations: 0 / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.247e-05, allocations: 6.312 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007337/0.007369, allocations: 4.725 MB / 255.1 MB, free: 3.051 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.01041, allocations: 1.45 MB / 256.6 MB, free: 1.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.01086, allocations: 31.75 kB / 256.6 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.01138, allocations: 221.7 kB / 256.8 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.01194, allocations: 197.9 kB / 257 MB, free: 1.152 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.01282, allocations: 407.2 kB / 257.4 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.01424, allocations: 1.153 MB / 258.6 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.01483, allocations: 316.8 kB / 258.9 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000807/0.01563, allocations: 0.5845 MB / 259.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.01607, allocations: 290.9 kB / 259.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.0162, allocations: 84 kB / 259.8 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.01647, allocations: 99.98 kB / 259.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.01668, allocations: 219 kB / 260.1 MB, free: 14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.01705, allocations: 319 kB / 260.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.01842, allocations: 1.156 MB / 261.6 MB, free: 12.53 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01842, allocations: 0 / 261.6 MB, free: 12.53 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01842, allocations: 3.938 kB / 261.6 MB, free: 12.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.01844, allocations: 0 / 261.6 MB, free: 12.52 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.002349/0.02078, allocations: 1.252 MB / 262.9 MB, free: 11.24 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.02084, allocations: 15.98 kB / 262.9 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.02119, allocations: 211.2 kB / 263.1 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.02239, allocations: 0.6056 MB / 263.7 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.02247, allocations: 74 kB / 263.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.02263, allocations: 104 kB / 263.9 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.02463, allocations: 1.085 MB / 264.9 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.02467, allocations: 7.938 kB / 264.9 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.02475, allocations: 44 kB / 265 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.02479, allocations: 28 kB / 265 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.02601, allocations: 0.5539 MB / 265.6 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.03224, allocations: 5.151 MB / 270.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.03287, allocations: 229 kB / 270.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.03322, allocations: 145.6 kB / 271.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.03332, allocations: 16.19 kB / 271.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.03337, allocations: 42.55 kB / 271.1 MB, free: 2.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 2.315e-06/0.03337, allocations: 0 / 271.1 MB, free: 2.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.004293/0.03767, allocations: 1.597 MB / 272.7 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.03774, allocations: 85.11 kB / 272.8 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008678/0.03861, allocations: 0.6449 MB / 273.5 MB, free: 64 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.03865, allocations: 33.7 kB / 273.5 MB, free: 24 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.03923, allocations: 0.6123 MB / 274.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.0394, allocations: 154.7 kB / 274.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.03963, allocations: 138.6 kB / 274.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002651/0.03989, allocations: 386.7 kB / 274.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.04025, allocations: 153.9 kB / 274.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/0.04099, allocations: 0.4935 MB / 275.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.04247, allocations: 0.692 MB / 276.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.04247, allocations: 4 kB / 276.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001454/0.04393, allocations: 0.7578 MB / 276.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.04395, allocations: 8 kB / 276.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.04397, allocations: 15.98 kB / 276.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.905e-05/0.04401, allocations: 16 kB / 276.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.04473, allocations: 200.1 kB / 277.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.3e-05/0.04476, allocations: 27.92 kB / 277.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.04513, allocations: 31.98 kB / 277.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.04518, allocations: 36 kB / 277.2 MB, free: 11.96 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.0003677/0.04555, allocations: 229.5 kB / 277.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.0457, allocations: 91.48 kB / 277.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.04585, allocations: 82.47 kB / 277.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.04586, allocations: 4 kB / 277.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.04587, allocations: 4 kB / 277.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.04587, allocations: 3.938 kB / 277.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.04823, allocations: 1.137 MB / 278.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.04823, allocations: 0 / 278.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.04875, allocations: 108 kB / 278.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.04876, allocations: 4 kB / 278.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.04879, allocations: 8 kB / 278.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.0488, allocations: 4 kB / 278.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.0488, allocations: 7.922 kB / 278.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.05004, allocations: 0.7091 MB / 279.6 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.05015, allocations: 67.48 kB / 279.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.05022, allocations: 8 kB / 279.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.05053, allocations: 24.02 kB / 279.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.05063, allocations: 39.83 kB / 279.7 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.05066, allocations: 8 kB / 279.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005993/0.05126, allocations: 423 kB / 280.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05126, allocations: 0 / 280.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007292/0.05199, allocations: 140 kB / 280.3 MB, free: 8.793 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.0001692/0.05216, allocations: 111.1 kB / 280.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008808/0.05304, allocations: 417.3 kB / 280.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.05304, allocations: 0 / 280.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.05336, allocations: 149.2 kB / 280.9 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.05394, allocations: 79.05 kB / 281 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.05706, allocations: 1.6 MB / 282.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.05789, allocations: 416.8 kB / 283 MB, free: 5.961 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000272/0.05817, allocations: 94 kB / 283.1 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.05834, allocations: 68.47 kB / 283.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.05834, allocations: 4 kB / 283.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of Templates: time 0.01248/0.07082, allocations: 4.696 MB / 287.9 MB, free: 1.145 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] 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.92936640791595]