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.001048/0.001048, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001435/0.001435, allocations: 159.9 kB / 25.75 MB, free: 8.582 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 0.9096/0.9096, allocations: 158.6 MB / 187.5 MB, free: 2.906 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 1.463e-06/1.463e-06, allocations: 0 / 251.1 MB, free: 7.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.639e-05, allocations: 2.312 kB / 251.1 MB, free: 7.766 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004288/0.004305, allocations: 5.061 MB / 256.2 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.006637, allocations: 1.466 MB / 257.7 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.006959, allocations: 35.69 kB / 257.7 MB, free: 1.172 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.007278, allocations: 225.7 kB / 257.9 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.007655, allocations: 190 kB / 258.1 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.008213, allocations: 407.2 kB / 258.5 MB, free: 372 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008011/0.009014, allocations: 1.157 MB / 259.7 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.009396, allocations: 316.9 kB / 260 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.009955, allocations: 0.5845 MB / 260.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.01022, allocations: 298.9 kB / 260.8 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.01031, allocations: 88 kB / 260.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.01044, allocations: 103.9 kB / 261 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.01055, allocations: 219 kB / 261.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.01076, allocations: 319 kB / 261.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.01138, allocations: 0.77 MB / 262.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01138, allocations: 0 / 262.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01138, allocations: 0 / 262.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.01139, allocations: 4 kB / 262.3 MB, free: 12.5 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.001156/0.01255, allocations: 1.352 MB / 263.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.01258, allocations: 19.97 kB / 263.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.01276, allocations: 207.2 kB / 263.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.01337, allocations: 0.6122 MB / 264.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.01342, allocations: 73.98 kB / 264.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.0135, allocations: 104 kB / 264.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.01449, allocations: 1.046 MB / 265.7 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.01451, allocations: 7.938 kB / 265.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.01456, allocations: 44 kB / 265.8 MB, free: 8.793 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.01458, allocations: 24 kB / 265.8 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.01514, allocations: 395.2 kB / 266.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.01873, allocations: 6.878 MB / 273.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.01906, allocations: 190 kB / 273.3 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.01924, allocations: 107.6 kB / 273.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.04e-05/0.01933, allocations: 15.92 kB / 273.4 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.01937, allocations: 41.64 kB / 273.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.01937, allocations: 0 / 273.4 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002017/0.02138, allocations: 1.372 MB / 274.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.02143, allocations: 81.11 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.02191, allocations: 0.6631 MB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.02193, allocations: 37.7 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.02223, allocations: 0.654 MB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.02231, allocations: 158.7 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.02242, allocations: 136.2 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.02258, allocations: 0.5585 MB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.0227, allocations: 81.94 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.02302, allocations: 0.5695 MB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.02353, allocations: 0.7207 MB / 278.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.02353, allocations: 4 kB / 278.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005889/0.02412, allocations: 0.6181 MB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.02414, allocations: 12 kB / 279.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.02415, allocations: 12 kB / 279.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.02417, allocations: 16 kB / 279.1 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.02452, allocations: 191.7 kB / 279.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.02453, allocations: 23.92 kB / 279.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.0247, allocations: 32.28 kB / 279.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.02473, allocations: 44 kB / 279.4 MB, free: 10.23 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.0001496/0.02488, allocations: 216.1 kB / 279.6 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.02496, allocations: 95.3 kB / 279.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.02503, allocations: 74.56 kB / 279.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.02503, allocations: 4 kB / 279.8 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.02503, allocations: 4 kB / 279.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.02504, allocations: 3.984 kB / 279.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.02608, allocations: 1.142 MB / 280.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02608, allocations: 4 kB / 280.9 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.02631, allocations: 95.88 kB / 281 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.02631, allocations: 4 kB / 281 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.02633, allocations: 11.98 kB / 281 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.02634, allocations: 7.938 kB / 281 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.02634, allocations: 0 / 281 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.0268, allocations: 0.6493 MB / 281.7 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.02685, allocations: 71.47 kB / 281.8 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.02689, allocations: 12 kB / 281.8 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.02703, allocations: 19.98 kB / 281.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.02708, allocations: 31.89 kB / 281.8 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.0271, allocations: 15.98 kB / 281.8 MB, free: 7.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002634/0.02736, allocations: 407 kB / 282.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02736, allocations: 0 / 282.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.02773, allocations: 140 kB / 282.4 MB, free: 7.133 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 8.378e-05/0.02781, allocations: 114.9 kB / 282.5 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.02817, allocations: 328 kB / 282.8 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02817, allocations: 0 / 282.8 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.02828, allocations: 111.4 kB / 282.9 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.02862, allocations: 80.11 kB / 283 MB, free: 6.504 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.03046, allocations: 1.571 MB / 284.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.03057, allocations: 166.1 kB / 284.7 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.03073, allocations: 94 kB / 284.8 MB, free: 4.586 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.03083, allocations: 72.47 kB / 284.9 MB, free: 4.516 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03084, allocations: 3.938 kB / 284.9 MB, free: 4.512 MB / 266.7 MB Notification: Performance of Templates: time 0.007877/0.03871, allocations: 4.7 MB / 289.6 MB, free: 15.86 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.8514740539249033]