Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 55.92 kB / 368.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2861, allocations: 52.13 MB / 420.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006952/0.2931, allocations: 5.415 MB / 426.3 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.296, allocations: 1.453 MB / 427.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.2965, allocations: 27.81 kB / 427.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.2971, allocations: 217.8 kB / 428 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006259/0.2977, allocations: 198 kB / 428.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.2986, allocations: 407.2 kB / 428.6 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.2999, allocations: 1.115 MB / 429.7 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006212/0.3005, allocations: 336.3 kB / 430 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.301, allocations: 398.3 kB / 430.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.3016, allocations: 433.5 kB / 430.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.3017, allocations: 84 kB / 430.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3019, allocations: 96 kB / 431 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.3021, allocations: 223.1 kB / 431.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004369/0.3025, allocations: 0.4932 MB / 431.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.3038, allocations: 1.18 MB / 432.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3038, allocations: 4 kB / 432.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3038, allocations: 3.938 kB / 432.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.3038, allocations: 0 / 432.9 MB, free: 3.109 MB / 334.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.002134/0.306, allocations: 1.343 MB / 434.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.306, allocations: 11.89 kB / 434.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.3062, allocations: 135.2 kB / 434.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.3074, allocations: 0.6543 MB / 435.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.3075, allocations: 77.94 kB / 435.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.3076, allocations: 96 kB / 435.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.3096, allocations: 1.034 MB / 436.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.3096, allocations: 3.938 kB / 436.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.3097, allocations: 44 kB / 436.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.3097, allocations: 28 kB / 436.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3109, allocations: 0.5539 MB / 436.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/0.3164, allocations: 5.502 MB / 442.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.317, allocations: 228.9 kB / 442.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.3174, allocations: 145.6 kB / 442.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.3175, allocations: 93.08 kB / 442.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.3176, allocations: 38.56 kB / 442.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.276e-06/0.3176, allocations: 4 kB / 442.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004296/0.3218, allocations: 1.734 MB / 444.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.3219, allocations: 85.05 kB / 444.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/0.3227, allocations: 0.6334 MB / 445.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.3227, allocations: 29.7 kB / 445.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.3232, allocations: 0.6239 MB / 446 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.3234, allocations: 154.7 kB / 446.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.3235, allocations: 138.5 kB / 446.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3237, allocations: 386.7 kB / 446.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.3241, allocations: 149.9 kB / 446.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.3246, allocations: 0.4893 MB / 447.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.3256, allocations: 0.7025 MB / 448 MB, free: 2.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3256, allocations: 4 kB / 448 MB, free: 2.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001223/0.3269, allocations: 0.7076 MB / 448.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3269, allocations: 8.875 kB / 448.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.3269, allocations: 12 kB / 448.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/0.3269, allocations: 19.94 kB / 448.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.3276, allocations: 199.7 kB / 448.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/0.3276, allocations: 23.88 kB / 449 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.328, allocations: 35.98 kB / 449 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.328, allocations: 36 kB / 449 MB, free: 1.949 MB / 350.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.0003619/0.3284, allocations: 233.4 kB / 449.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.3285, allocations: 87.48 kB / 449.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.3286, allocations: 78.53 kB / 449.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3286, allocations: 4 kB / 449.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.3287, allocations: 3.938 kB / 449.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3287, allocations: 7.984 kB / 449.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.3307, allocations: 1.313 MB / 450.8 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3307, allocations: 0 / 450.8 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.3312, allocations: 100 kB / 450.9 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.3312, allocations: 15.92 kB / 450.9 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.3312, allocations: 11.94 kB / 450.9 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3312, allocations: 4 kB / 450.9 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3313, allocations: 4 kB / 450.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3323, allocations: 0.6897 MB / 451.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3324, allocations: 152.6 kB / 451.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.3325, allocations: 8 kB / 451.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.3328, allocations: 23.98 kB / 451.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.3328, allocations: 31.95 kB / 451.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.3329, allocations: 15.94 kB / 451.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004661/0.3333, allocations: 423 kB / 452.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3333, allocations: 4 kB / 452.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006074/0.3339, allocations: 136 kB / 452.4 MB, free: 14.5 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.0002078/0.3341, allocations: 123 kB / 452.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007542/0.3349, allocations: 417 kB / 452.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3349, allocations: 0 / 452.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.3352, allocations: 153.1 kB / 453 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.3357, allocations: 75.38 kB / 453.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.3385, allocations: 1.69 MB / 454.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.3392, allocations: 1.004 MB / 455.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002623/0.3395, allocations: 90.02 kB / 455.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3396, allocations: 63.42 kB / 456 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3396, allocations: 0 / 456 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01316/0.3528, allocations: 5.325 MB / 461.3 MB, free: 5.504 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.708051575347781]