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.001103/0.001103, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001248/0.001248, allocations: 171.1 kB / 25.33 MB, free: 8.543 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.9586/0.9586, allocations: 158.6 MB / 187.2 MB, free: 2.898 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.705e-06/2.705e-06, allocations: 0 / 251.1 MB, free: 7.477 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.568e-05, allocations: 2.312 kB / 251.1 MB, free: 7.473 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007196/0.007232, allocations: 5.084 MB / 256.2 MB, free: 2.355 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.01093, allocations: 1.466 MB / 257.6 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007781/0.01171, allocations: 31.75 kB / 257.7 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.01228, allocations: 225.7 kB / 257.9 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007809/0.01306, allocations: 221.6 kB / 258.1 MB, free: 424 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.01409, allocations: 399.3 kB / 258.5 MB, free: 24 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.01557, allocations: 1.157 MB / 259.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006291/0.0162, allocations: 312.9 kB / 259.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000933/0.01714, allocations: 0.5962 MB / 260.5 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.01759, allocations: 298.9 kB / 260.8 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.01773, allocations: 84 kB / 260.9 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.01793, allocations: 96 kB / 261 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.0181, allocations: 219 kB / 261.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.01836, allocations: 319 kB / 261.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000689/0.01905, allocations: 0.7778 MB / 262.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01905, allocations: 0 / 262.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01905, allocations: 0 / 262.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.01907, allocations: 0 / 262.3 MB, free: 12.16 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.001313/0.02038, allocations: 1.36 MB / 263.7 MB, free: 10.76 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.02042, allocations: 11.98 kB / 263.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.02061, allocations: 211.2 kB / 263.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009196/0.02153, allocations: 0.6083 MB / 264.5 MB, free: 9.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.02158, allocations: 74 kB / 264.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.02166, allocations: 107.9 kB / 264.7 MB, free: 9.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009983/0.02266, allocations: 1.042 MB / 265.7 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.02269, allocations: 7.938 kB / 265.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.02274, allocations: 44 kB / 265.8 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.02276, allocations: 28 kB / 265.8 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005658/0.02332, allocations: 391.2 kB / 266.2 MB, free: 8.039 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.02725, allocations: 6.874 MB / 273.1 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.02757, allocations: 190 kB / 273.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.02773, allocations: 111.3 kB / 273.3 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.02783, allocations: 8 kB / 273.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.02785, allocations: 45.39 kB / 273.4 MB, free: 472 kB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.993e-06/0.02785, allocations: 0 / 273.4 MB, free: 472 kB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002118/0.02997, allocations: 1.375 MB / 274.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.03001, allocations: 85.11 kB / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.03048, allocations: 0.667 MB / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.0305, allocations: 33.7 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.03078, allocations: 0.6618 MB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/0.03086, allocations: 150.7 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.03097, allocations: 140.2 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.03113, allocations: 0.5586 MB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.03125, allocations: 81.94 kB / 277.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.03156, allocations: 0.5696 MB / 277.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.03238, allocations: 0.7168 MB / 278.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.03238, allocations: 4 kB / 278.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006449/0.03303, allocations: 0.6222 MB / 279.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.03305, allocations: 8 kB / 279.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.03307, allocations: 12 kB / 279.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.03309, allocations: 16 kB / 279.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.03344, allocations: 195.7 kB / 279.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.03346, allocations: 23.92 kB / 279.3 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.03364, allocations: 32 kB / 279.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.03367, allocations: 40.11 kB / 279.4 MB, free: 9.895 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.0001604/0.03383, allocations: 224.1 kB / 279.6 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.03391, allocations: 95.42 kB / 279.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.03398, allocations: 74.55 kB / 279.8 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.03399, allocations: 7.984 kB / 279.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.034, allocations: 0 / 279.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.034, allocations: 0 / 279.8 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.03512, allocations: 1.142 MB / 280.9 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.03512, allocations: 3.938 kB / 280.9 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.03536, allocations: 91.88 kB / 281 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.03536, allocations: 7.984 kB / 281 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.03538, allocations: 12 kB / 281 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.03539, allocations: 4 kB / 281 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.03539, allocations: 4 kB / 281 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.03587, allocations: 0.6492 MB / 281.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.03594, allocations: 71.48 kB / 281.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.03598, allocations: 8 kB / 281.8 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.03611, allocations: 15.98 kB / 281.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.03618, allocations: 35.88 kB / 281.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.03619, allocations: 16 kB / 281.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002833/0.03648, allocations: 410.9 kB / 282.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03648, allocations: 0 / 282.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.03691, allocations: 136 kB / 282.4 MB, free: 6.793 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.0001096/0.03702, allocations: 115.1 kB / 282.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.03741, allocations: 320.5 kB / 282.8 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.03741, allocations: 4 kB / 282.8 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.03752, allocations: 115.4 kB / 282.9 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.03788, allocations: 70.92 kB / 283 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.03982, allocations: 1.572 MB / 284.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.03993, allocations: 170.1 kB / 284.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.04008, allocations: 98 kB / 284.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.04019, allocations: 64.48 kB / 284.9 MB, free: 4.18 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.04019, allocations: 0 / 284.9 MB, free: 4.18 MB / 266.7 MB Notification: Performance of Templates: time 0.008913/0.0491, allocations: 4.926 MB / 289.8 MB, free: 15.29 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.9121081032790244]