Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009084/0.009084, allocations: 107.8 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002629/0.002629, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 379.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3303, allocations: 53.36 MB / 433.2 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007101/0.3374, allocations: 5.433 MB / 438.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.3406, allocations: 1.531 MB / 440.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006318/0.3412, allocations: 39.69 kB / 440.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.3418, allocations: 217.8 kB / 440.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006477/0.3424, allocations: 194 kB / 440.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009072/0.3433, allocations: 427.1 kB / 441 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.3447, allocations: 1.126 MB / 442.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000562/0.3453, allocations: 336.9 kB / 442.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006262/0.3459, allocations: 422.2 kB / 442.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.3464, allocations: 437.5 kB / 443.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3466, allocations: 80 kB / 443.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.3468, allocations: 104 kB / 443.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.347, allocations: 211.1 kB / 443.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.3474, allocations: 0.4971 MB / 444.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3487, allocations: 1.195 MB / 445.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3487, allocations: 0 / 445.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3487, allocations: 0 / 445.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.3488, allocations: 0 / 445.4 MB, free: 10.66 MB / 350.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.001881/0.3506, allocations: 1.267 MB / 446.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3507, allocations: 8.031 kB / 446.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.351, allocations: 155.1 kB / 446.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.3521, allocations: 0.5859 MB / 447.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.3522, allocations: 73.94 kB / 447.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3523, allocations: 104 kB / 447.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.354, allocations: 1.023 MB / 448.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.354, allocations: 3.938 kB / 448.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.3541, allocations: 48 kB / 448.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.3541, allocations: 28 kB / 448.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.3553, allocations: 0.5578 MB / 449.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005202/0.3605, allocations: 5.409 MB / 454.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.361, allocations: 222.1 kB / 454.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.3614, allocations: 157.6 kB / 455 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.971e-05/0.3615, allocations: 4 kB / 455 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.3615, allocations: 38.56 kB / 455.1 MB, free: 500 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.3615, allocations: 3.938 kB / 455.1 MB, free: 496 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003866/0.3654, allocations: 1.593 MB / 456.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.3654, allocations: 85.05 kB / 456.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/0.3662, allocations: 0.6373 MB / 457.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.3662, allocations: 33.7 kB / 457.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.3667, allocations: 0.6161 MB / 458 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.3668, allocations: 154.8 kB / 458.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.367, allocations: 134.5 kB / 458.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3672, allocations: 394.7 kB / 458.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.3675, allocations: 145.9 kB / 458.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.3681, allocations: 0.5048 MB / 459.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009655/0.3691, allocations: 0.6882 MB / 460 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.3691, allocations: 4 kB / 460 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0012/0.3703, allocations: 0.7188 MB / 460.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3703, allocations: 8 kB / 460.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3703, allocations: 12 kB / 460.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.426e-05/0.3704, allocations: 24 kB / 460.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.371, allocations: 192.2 kB / 461 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.948e-05/0.371, allocations: 31.81 kB / 461 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.3714, allocations: 31.98 kB / 461 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-05/0.3714, allocations: 40 kB / 461.1 MB, free: 10.01 MB / 366.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.0003199/0.3717, allocations: 229.5 kB / 461.3 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.3719, allocations: 83.47 kB / 461.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.372, allocations: 74.69 kB / 461.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.372, allocations: 4 kB / 461.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.372, allocations: 3.938 kB / 461.5 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.372, allocations: 7.984 kB / 461.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.3742, allocations: 1.29 MB / 462.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3742, allocations: 0 / 462.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.3746, allocations: 107.8 kB / 462.9 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3746, allocations: 4 kB / 462.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.3747, allocations: 11.94 kB / 462.9 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3747, allocations: 4 kB / 462.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.3747, allocations: 8.094 kB / 462.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3757, allocations: 0.7052 MB / 463.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3758, allocations: 75.45 kB / 463.7 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.3759, allocations: 8 kB / 463.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.3762, allocations: 19.98 kB / 463.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.3762, allocations: 39.88 kB / 463.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.3763, allocations: 12 kB / 463.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005076/0.3768, allocations: 427 kB / 464.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3768, allocations: 0 / 464.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006571/0.3774, allocations: 140 kB / 464.3 MB, free: 6.684 MB / 366.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.0001363/0.3776, allocations: 107.1 kB / 464.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000831/0.3784, allocations: 418.4 kB / 464.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3784, allocations: 4.062 kB / 464.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.3787, allocations: 147.7 kB / 465 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.3792, allocations: 79.28 kB / 465.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.3832, allocations: 1.726 MB / 466.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.384, allocations: 1.004 MB / 467.8 MB, free: 3.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.3842, allocations: 67.41 kB / 467.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3842, allocations: 0 / 467.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of Templates: time 0.01647/0.4007, allocations: 9.411 MB / 477.3 MB, free: 9.637 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.873446668963879]