Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001777/0.001777, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002141/0.002141, allocations: 217.2 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.89 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.317, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.008497/0.3255, allocations: 5.432 MB / 435.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003442/0.329, allocations: 1.535 MB / 436.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008639/0.3298, allocations: 31.81 kB / 436.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008299/0.3307, allocations: 217.8 kB / 437 MB, free: 328 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.3317, allocations: 186 kB / 437.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3329, allocations: 431.1 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.3345, allocations: 1.123 MB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006679/0.3352, allocations: 336.3 kB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006744/0.3359, allocations: 410.2 kB / 439.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.3364, allocations: 433.5 kB / 439.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.3366, allocations: 84 kB / 440 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.3369, allocations: 107.9 kB / 440.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.3371, allocations: 207.1 kB / 440.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007595/0.3379, allocations: 0.501 MB / 440.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.3396, allocations: 1.187 MB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3396, allocations: 4 kB / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3396, allocations: 0 / 442 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.808e-05/0.3397, allocations: 0 / 442 MB, free: 11.32 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.002736/0.3424, allocations: 1.347 MB / 443.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.255e-05/0.3425, allocations: 12.03 kB / 443.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/0.343, allocations: 151.1 kB / 443.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.3445, allocations: 0.662 MB / 444.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.3445, allocations: 77.94 kB / 444.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3447, allocations: 96 kB / 444.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.3469, allocations: 1.035 MB / 445.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.347, allocations: 11.89 kB / 445.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.3471, allocations: 44 kB / 445.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.3471, allocations: 31.98 kB / 445.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.3483, allocations: 0.55 MB / 446 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006257/0.3546, allocations: 5.506 MB / 451.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.3552, allocations: 221 kB / 451.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.3555, allocations: 153.6 kB / 451.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.3557, allocations: 81.11 kB / 452 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.3558, allocations: 38.56 kB / 452 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.3558, allocations: 0 / 452 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004356/0.3601, allocations: 1.74 MB / 453.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.3602, allocations: 92.97 kB / 453.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.361, allocations: 0.6413 MB / 454.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.3611, allocations: 29.7 kB / 454.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.3615, allocations: 0.6162 MB / 455.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.3617, allocations: 150.7 kB / 455.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.3619, allocations: 138.5 kB / 455.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.3622, allocations: 390.8 kB / 455.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.3625, allocations: 153.9 kB / 455.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.3632, allocations: 497 kB / 456.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/0.3642, allocations: 0.706 MB / 457.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.3642, allocations: 4 kB / 457.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001285/0.3655, allocations: 0.712 MB / 457.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3655, allocations: 10.66 kB / 457.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3655, allocations: 12 kB / 457.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.3655, allocations: 16 kB / 457.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.3662, allocations: 199.7 kB / 458.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.089e-05/0.3662, allocations: 28.2 kB / 458.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.3666, allocations: 35.98 kB / 458.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.3666, allocations: 36 kB / 458.2 MB, free: 10.11 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.0003523/0.367, allocations: 229.5 kB / 458.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.3671, allocations: 79.48 kB / 458.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.3672, allocations: 78.58 kB / 458.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3672, allocations: 4 kB / 458.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.3672, allocations: 11.88 kB / 458.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3673, allocations: 3.984 kB / 458.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.3695, allocations: 1.32 MB / 459.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.3695, allocations: 7.938 kB / 459.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.37, allocations: 103.8 kB / 460 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/0.37, allocations: 4 kB / 460 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.37, allocations: 15.92 kB / 460 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.37, allocations: 4 kB / 460 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.37, allocations: 0 / 460 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3712, allocations: 0.712 MB / 460.7 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.3714, allocations: 148.6 kB / 460.9 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.3714, allocations: 8 kB / 460.9 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.3717, allocations: 27.98 kB / 460.9 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.3718, allocations: 27.95 kB / 460.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.3719, allocations: 12 kB / 460.9 MB, free: 7.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000631/0.3725, allocations: 427 kB / 461.4 MB, free: 6.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3725, allocations: 0 / 461.4 MB, free: 6.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007712/0.3733, allocations: 140 kB / 461.5 MB, free: 6.641 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.0001801/0.3734, allocations: 107.2 kB / 461.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008726/0.3743, allocations: 422.1 kB / 462 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.3743, allocations: 4.312 kB / 462 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.3746, allocations: 147.7 kB / 462.2 MB, free: 5.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.3752, allocations: 67.31 kB / 462.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.3784, allocations: 1.707 MB / 463.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.3791, allocations: 1 MB / 464.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000323/0.3794, allocations: 98.05 kB / 465 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3796, allocations: 63.41 kB / 465.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3796, allocations: 0 / 465.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of Templates: time 0.01352/0.3931, allocations: 5.327 MB / 470.4 MB, free: 13.64 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.896663723513484]