Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009698/0.0009698, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001037/0.001037, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9913/0.9913, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 273.5 MB, free: 4.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.703e-05, allocations: 2.312 kB / 273.5 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006496/0.006524, allocations: 5.081 MB / 278.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.009471, allocations: 1.569 MB / 280.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005082/0.00998, allocations: 39.69 kB / 280.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.01038, allocations: 213.8 kB / 280.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.01099, allocations: 221.6 kB / 280.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.01174, allocations: 419.2 kB / 281.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.01327, allocations: 1.149 MB / 282.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006836/0.01396, allocations: 328.9 kB / 282.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.01504, allocations: 0.6079 MB / 283.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.01555, allocations: 294.9 kB / 283.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.01572, allocations: 84 kB / 283.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.01591, allocations: 100 kB / 283.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.01601, allocations: 215 kB / 283.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.01623, allocations: 323 kB / 284.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007331/0.01696, allocations: 0.7817 MB / 284.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.01697, allocations: 0 / 284.9 MB, free: 8.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.01697, allocations: 4 kB / 284.9 MB, free: 8.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.01699, allocations: 0 / 284.9 MB, free: 8.91 MB / 266.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.001193/0.01818, allocations: 1.254 MB / 286.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.01821, allocations: 12.03 kB / 286.2 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.01847, allocations: 175.9 kB / 286.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.01913, allocations: 0.5354 MB / 286.9 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.01917, allocations: 74 kB / 287 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.01926, allocations: 100 kB / 287.1 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.02011, allocations: 0.9173 MB / 288 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.02014, allocations: 11.94 kB / 288 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.02018, allocations: 44 kB / 288 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.0202, allocations: 24 kB / 288.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.02062, allocations: 305.3 kB / 288.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/0.02369, allocations: 4.796 MB / 293.1 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.02396, allocations: 153 kB / 293.3 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.02408, allocations: 93.91 kB / 293.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.02414, allocations: 16 kB / 293.4 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.02416, allocations: 38.56 kB / 293.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 1.973e-06/0.02416, allocations: 0 / 293.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.001913/0.02608, allocations: 1.097 MB / 294.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.02612, allocations: 81.11 kB / 294.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.02648, allocations: 0.5972 MB / 295.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.0265, allocations: 37.7 kB / 295.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.02674, allocations: 0.5352 MB / 295.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.02683, allocations: 158.6 kB / 295.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.02693, allocations: 138.5 kB / 296.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.02704, allocations: 394.6 kB / 296.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.0271, allocations: 61.91 kB / 296.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.02732, allocations: 417.3 kB / 296.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.02776, allocations: 0.5484 MB / 297.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.02777, allocations: 4 kB / 297.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004322/0.0282, allocations: 473 kB / 297.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.02822, allocations: 14.66 kB / 298 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.02823, allocations: 12 kB / 298 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.02825, allocations: 16 kB / 298 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.02867, allocations: 220.3 kB / 298.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.02868, allocations: 23.92 kB / 298.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.02886, allocations: 28 kB / 298.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.02889, allocations: 32 kB / 298.3 MB, free: 10.62 MB / 282.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.0001523/0.02904, allocations: 169.4 kB / 298.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.02911, allocations: 55.94 kB / 298.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.634e-05/0.02919, allocations: 74.62 kB / 298.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02919, allocations: 8 kB / 298.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.0292, allocations: 4 kB / 298.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.02921, allocations: 3.984 kB / 298.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.03011, allocations: 0.7784 MB / 299.4 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.03011, allocations: 3.938 kB / 299.4 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.03036, allocations: 124 kB / 299.5 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.03037, allocations: 4 kB / 299.5 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.03038, allocations: 12 kB / 299.5 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.03039, allocations: 3.984 kB / 299.5 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.03039, allocations: 8 kB / 299.5 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.03075, allocations: 458.6 kB / 300 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.03081, allocations: 71.47 kB / 300 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.03084, allocations: 8 kB / 300 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.03097, allocations: 23.94 kB / 300.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.03102, allocations: 27.94 kB / 300.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.03104, allocations: 12 kB / 300.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.03123, allocations: 276.5 kB / 300.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03123, allocations: 3.938 kB / 300.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.03161, allocations: 140 kB / 300.5 MB, free: 8.293 MB / 282.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.0001182/0.03173, allocations: 88.3 kB / 300.6 MB, free: 8.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002872/0.03202, allocations: 293.7 kB / 300.9 MB, free: 7.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/0.03203, allocations: 12.5 kB / 300.9 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.933e-05/0.03212, allocations: 103.3 kB / 301 MB, free: 7.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.03245, allocations: 78.5 kB / 301.1 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.03426, allocations: 1.479 MB / 302.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.03438, allocations: 170.4 kB / 302.7 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.03456, allocations: 90.09 kB / 302.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.03477, allocations: 167.3 kB / 303 MB, free: 5.746 MB / 282.7 MB Notification: Performance of SimCode: time 1.282e-06/0.03477, allocations: 0 / 303 MB, free: 5.746 MB / 282.7 MB Notification: Performance of Templates: time 0.00911/0.04388, allocations: 5.196 MB / 308.2 MB, free: 0.6562 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.8053105529397726]