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.001227/0.001227, allocations: 80.39 kB / 22.21 MB, free: 2.285 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.001284/0.001284, allocations: 168.3 kB / 25.61 MB, free: 8.586 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.033/1.033, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.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 2.584e-06/2.584e-06, allocations: 0 / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.046e-05/4.304e-05, allocations: 2.312 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005649/0.005692, allocations: 4.979 MB / 256.5 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.008435, allocations: 1.458 MB / 257.9 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.008954, allocations: 35.75 kB / 258 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.009396, allocations: 217.8 kB / 258.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.009934, allocations: 217.6 kB / 258.4 MB, free: 300 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.01063, allocations: 403.3 kB / 258.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009448/0.01157, allocations: 1.157 MB / 259.9 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.01204, allocations: 308.9 kB / 260.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.0127, allocations: 0.6001 MB / 260.8 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.01304, allocations: 302.9 kB / 261.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.01314, allocations: 80 kB / 261.2 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.01331, allocations: 103.9 kB / 261.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.01346, allocations: 215 kB / 261.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.01369, allocations: 319 kB / 261.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007844/0.01448, allocations: 0.7778 MB / 262.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.01448, allocations: 3.938 kB / 262.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.01448, allocations: 0 / 262.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.0145, allocations: 0 / 262.6 MB, free: 12.03 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.001405/0.0159, allocations: 1.367 MB / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.948e-05/0.016, allocations: 11.98 kB / 264 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.01619, allocations: 207.2 kB / 264.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.01688, allocations: 0.6122 MB / 264.8 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.01693, allocations: 74 kB / 264.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.01704, allocations: 107.9 kB / 265 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.01806, allocations: 0.9911 MB / 266 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.01808, allocations: 3.938 kB / 266 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.01814, allocations: 44 kB / 266 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.01816, allocations: 28 kB / 266.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.01859, allocations: 329.2 kB / 266.4 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.02252, allocations: 6.745 MB / 273.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.02284, allocations: 185.9 kB / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.02297, allocations: 95.61 kB / 273.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.02305, allocations: 19.86 kB / 273.4 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.02308, allocations: 45.64 kB / 273.5 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.02308, allocations: 4 kB / 273.5 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001746/0.02482, allocations: 1.042 MB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.02487, allocations: 81.11 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.02531, allocations: 0.6588 MB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.02533, allocations: 29.7 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.02568, allocations: 0.6655 MB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.809e-05/0.02578, allocations: 166.6 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.02591, allocations: 148.2 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.02611, allocations: 0.5623 MB / 276.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.0262, allocations: 65.94 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.02657, allocations: 0.5539 MB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.02716, allocations: 0.6931 MB / 278.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.02716, allocations: 4 kB / 278.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005778/0.02774, allocations: 0.5708 MB / 278.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.02777, allocations: 12 kB / 278.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.02778, allocations: 12 kB / 278.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.02781, allocations: 20.77 kB / 278.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.02816, allocations: 199.7 kB / 278.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.02817, allocations: 23.92 kB / 279 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.02834, allocations: 31.98 kB / 279 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.02837, allocations: 28 kB / 279 MB, free: 10.44 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.0001701/0.02854, allocations: 220.1 kB / 279.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.02862, allocations: 91.48 kB / 279.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.098e-05/0.0287, allocations: 74.55 kB / 279.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.02871, allocations: 4 kB / 279.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02871, allocations: 4 kB / 279.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.02872, allocations: 3.984 kB / 279.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009906/0.02971, allocations: 0.9905 MB / 280.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02971, allocations: 7.938 kB / 280.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.02992, allocations: 95.88 kB / 280.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.02993, allocations: 8.156 kB / 280.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.02995, allocations: 11.98 kB / 280.5 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.02995, allocations: 4 kB / 280.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02995, allocations: 0 / 280.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.03042, allocations: 0.6295 MB / 281.1 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.03048, allocations: 67.48 kB / 281.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.03051, allocations: 12 kB / 281.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.03063, allocations: 15.98 kB / 281.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.0307, allocations: 43.81 kB / 281.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.03071, allocations: 12 kB / 281.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.03093, allocations: 382.8 kB / 281.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03093, allocations: 0 / 281.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.0313, allocations: 144 kB / 281.8 MB, free: 7.531 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.0001369/0.03144, allocations: 111.1 kB / 281.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.03176, allocations: 304.4 kB / 282.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.03176, allocations: 0 / 282.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.03186, allocations: 107.6 kB / 282.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.03222, allocations: 75.11 kB / 282.4 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.03408, allocations: 1.563 MB / 284 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.03419, allocations: 170.1 kB / 284.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.03435, allocations: 90.02 kB / 284.2 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.03455, allocations: 194.1 kB / 284.4 MB, free: 4.84 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03455, allocations: 4 kB / 284.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of Templates: time 0.00939/0.04395, allocations: 5.085 MB / 289.5 MB, free: 15.78 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","",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.963946333155036]