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.001296/0.001296, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.004425/0.004425, allocations: 170 kB / 25.33 MB, free: 8.723 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.9773/0.9773, allocations: 158.6 MB / 187.2 MB, free: 2.461 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.195e-06/2.195e-06, allocations: 0 / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.563e-05/3.782e-05, allocations: 6.312 kB / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.005963/0.006001, allocations: 5.102 MB / 256.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.008737, allocations: 1.446 MB / 257.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006625/0.009399, allocations: 43.69 kB / 257.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.009832, allocations: 221.7 kB / 257.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.01029, allocations: 193.9 kB / 258.1 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.011, allocations: 411.2 kB / 258.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.01215, allocations: 1.149 MB / 259.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.01261, allocations: 316.9 kB / 259.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006023/0.01321, allocations: 0.5845 MB / 260.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.01353, allocations: 298.9 kB / 260.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.27e-05/0.01362, allocations: 80 kB / 260.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.01379, allocations: 103.9 kB / 261 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.01391, allocations: 223 kB / 261.2 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.01414, allocations: 319 kB / 261.5 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.01486, allocations: 0.7739 MB / 262.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.01487, allocations: 0 / 262.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01487, allocations: 0 / 262.3 MB, free: 8.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.01488, allocations: 0 / 262.3 MB, free: 8.254 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.001365/0.01625, allocations: 1.356 MB / 263.6 MB, free: 6.859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.0163, allocations: 11.98 kB / 263.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.01651, allocations: 211.2 kB / 263.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.01718, allocations: 0.6161 MB / 264.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.01723, allocations: 73.98 kB / 264.5 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.01733, allocations: 104 kB / 264.6 MB, free: 5.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.01842, allocations: 1.05 MB / 265.7 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.01844, allocations: 3.938 kB / 265.7 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.0185, allocations: 44 kB / 265.7 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.01852, allocations: 28 kB / 265.8 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.01911, allocations: 387.2 kB / 266.1 MB, free: 4.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.02307, allocations: 6.878 MB / 273 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.02345, allocations: 186 kB / 273.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.02364, allocations: 111.6 kB / 273.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.02375, allocations: 19.92 kB / 273.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.02379, allocations: 37.64 kB / 273.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/0.02379, allocations: 0 / 273.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.0027/0.02649, allocations: 1.377 MB / 274.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.02654, allocations: 81.11 kB / 274.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.02712, allocations: 0.6709 MB / 275.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.02715, allocations: 33.7 kB / 275.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.02751, allocations: 0.6579 MB / 276.2 MB, free: 9.613 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.02761, allocations: 162.7 kB / 276.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.02776, allocations: 140.2 kB / 276.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.02795, allocations: 0.5547 MB / 277 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.02811, allocations: 77.94 kB / 277.1 MB, free: 8.664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/0.03158, allocations: 0.5657 MB / 277.7 MB, free: 7.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.03227, allocations: 0.7173 MB / 278.4 MB, free: 6.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.03228, allocations: 4 kB / 278.4 MB, free: 6.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008489/0.03313, allocations: 0.6253 MB / 279 MB, free: 6.301 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.03316, allocations: 8 kB / 279 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.03318, allocations: 12 kB / 279.1 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/0.03321, allocations: 20 kB / 279.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.03369, allocations: 191.6 kB / 279.3 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-05/0.03372, allocations: 27.92 kB / 279.3 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.03397, allocations: 32 kB / 279.3 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.03402, allocations: 40 kB / 279.4 MB, free: 5.977 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.003259/0.03728, allocations: 220.2 kB / 279.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.0374, allocations: 91.48 kB / 279.7 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.0375, allocations: 74.56 kB / 279.7 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.0375, allocations: 4 kB / 279.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.03751, allocations: 0 / 279.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.03752, allocations: 3.984 kB / 279.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.0392, allocations: 1.143 MB / 280.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.0392, allocations: 7.938 kB / 280.9 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.03951, allocations: 95.88 kB / 281 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.03952, allocations: 0 / 281 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.03954, allocations: 15.98 kB / 281 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.03955, allocations: 0 / 281 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.03955, allocations: 4 kB / 281 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.04319, allocations: 0.6485 MB / 281.7 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.04328, allocations: 71.5 kB / 281.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.04333, allocations: 12 kB / 281.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.04353, allocations: 19.98 kB / 281.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.04361, allocations: 31.88 kB / 281.8 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.04363, allocations: 16 kB / 281.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004106/0.04404, allocations: 403 kB / 282.2 MB, free: 3.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04404, allocations: 0 / 282.2 MB, free: 3.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006844/0.04473, allocations: 140 kB / 282.3 MB, free: 2.887 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.0001509/0.04488, allocations: 119.1 kB / 282.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005564/0.04543, allocations: 324.9 kB / 282.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.04544, allocations: 0 / 282.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.04559, allocations: 111.4 kB / 282.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/0.04913, allocations: 82.92 kB / 283 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.0519, allocations: 1.568 MB / 284.5 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003175/0.05507, allocations: 170.1 kB / 284.7 MB, free: 436 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.05531, allocations: 94 kB / 284.8 MB, free: 340 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.05545, allocations: 68.47 kB / 284.8 MB, free: 272 kB / 266.7 MB Notification: Performance of SimCode: time 2.495e-06/0.05545, allocations: 0 / 284.8 MB, free: 272 kB / 266.7 MB Notification: Performance of Templates: time 0.0203/0.07575, allocations: 4.706 MB / 289.6 MB, free: 11.59 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: 3.2810275722295046]