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.001941/0.001941, allocations: 84.84 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002379/0.002379, allocations: 165.1 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.462/1.462, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.973e-06/1.973e-06, allocations: 0.6562 kB / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.575e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00643/0.006455, allocations: 4.794 MB / 329.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.009685, allocations: 1.485 MB / 331.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.01014, allocations: 37.12 kB / 331.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.01062, allocations: 226.2 kB / 331.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.01125, allocations: 198.4 kB / 331.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.01225, allocations: 428.9 kB / 332.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.01361, allocations: 1.157 MB / 333.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005795/0.01419, allocations: 314.4 kB / 333.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008365/0.01503, allocations: 0.5907 MB / 334.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.01545, allocations: 286.2 kB / 334.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.01558, allocations: 83.22 kB / 334.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.01578, allocations: 109.8 kB / 334.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.01598, allocations: 214 kB / 335 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.01631, allocations: 318.3 kB / 335.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.01754, allocations: 1.173 MB / 336.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.01754, allocations: 1.188 kB / 336.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01754, allocations: 0 / 336.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.01756, allocations: 0 / 336.5 MB, free: 8.824 MB / 302.1 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.002069/0.01963, allocations: 1.258 MB / 337.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.01966, allocations: 10.12 kB / 337.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.02004, allocations: 147 kB / 337.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009941/0.02104, allocations: 0.585 MB / 338.4 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.0211, allocations: 69.88 kB / 338.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.02122, allocations: 99.44 kB / 338.6 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.02299, allocations: 1.086 MB / 339.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.02303, allocations: 15.88 kB / 339.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.02312, allocations: 40 kB / 339.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.02314, allocations: 24 kB / 339.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.02433, allocations: 0.5617 MB / 340.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/0.0295, allocations: 5.123 MB / 345.5 MB, free: 260 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.0301, allocations: 213 kB / 345.7 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.03046, allocations: 156.6 kB / 345.8 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.311e-05/0.03054, allocations: 11.98 kB / 345.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.03058, allocations: 38.56 kB / 345.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/0.03058, allocations: 0 / 345.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004096/0.03467, allocations: 1.595 MB / 347.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.03473, allocations: 81.11 kB / 347.5 MB, free: 14.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.0355, allocations: 0.6605 MB / 348.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.03554, allocations: 29.7 kB / 348.2 MB, free: 13.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.036, allocations: 0.6123 MB / 348.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.03613, allocations: 162.7 kB / 349 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.03631, allocations: 134.6 kB / 349.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.03651, allocations: 390.7 kB / 349.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.03684, allocations: 149.9 kB / 349.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.03744, allocations: 497.3 kB / 350.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.03846, allocations: 0.6939 MB / 350.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.03846, allocations: 4 kB / 350.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001273/0.03974, allocations: 0.7259 MB / 351.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.03976, allocations: 12 kB / 351.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.03978, allocations: 12 kB / 351.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.03981, allocations: 16 kB / 351.6 MB, free: 9.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.04045, allocations: 196.1 kB / 351.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/0.04048, allocations: 27.88 kB / 351.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.04083, allocations: 35.98 kB / 351.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.04089, allocations: 40 kB / 351.9 MB, free: 9.324 MB / 318.1 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.0003031/0.04119, allocations: 229.4 kB / 352.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.04133, allocations: 83.47 kB / 352.2 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.04145, allocations: 74.64 kB / 352.3 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.04146, allocations: 4 kB / 352.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.04146, allocations: 0 / 352.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.04147, allocations: 3.984 kB / 352.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.04345, allocations: 1.129 MB / 353.4 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.04346, allocations: 4 kB / 353.4 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.04395, allocations: 104 kB / 353.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.04395, allocations: 7.984 kB / 353.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.04398, allocations: 8 kB / 353.5 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.04399, allocations: 7.938 kB / 353.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.04399, allocations: 0 / 353.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.0451, allocations: 0.708 MB / 354.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.0452, allocations: 67.61 kB / 354.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.04526, allocations: 11.98 kB / 354.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.04557, allocations: 23.98 kB / 354.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.04565, allocations: 35.88 kB / 354.4 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.04568, allocations: 15.94 kB / 354.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004805/0.04616, allocations: 419 kB / 354.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04616, allocations: 0 / 354.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006533/0.04681, allocations: 140 kB / 355 MB, free: 6.184 MB / 318.1 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.0001481/0.04696, allocations: 115.2 kB / 355.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008129/0.04777, allocations: 420.8 kB / 355.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04778, allocations: 0 / 355.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.04807, allocations: 141.3 kB / 355.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.0486, allocations: 75.48 kB / 355.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.05111, allocations: 1.569 MB / 357.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.05152, allocations: 425.1 kB / 357.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.05175, allocations: 94 kB / 357.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.05191, allocations: 64.48 kB / 357.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.05191, allocations: 0 / 357.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of Templates: time 0.01205/0.06396, allocations: 4.663 MB / 362.5 MB, free: 14.65 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.547382779419422]