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.00131/0.00131, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001464/0.001464, allocations: 188.2 kB / 23.7 MB, free: 4.195 MB / 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.492/1.492, allocations: 225.7 MB / 252.5 MB, free: 12.87 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.001592/0.001592, allocations: 55.91 kB / 370.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3113, allocations: 52.18 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006672/0.3179, allocations: 4.754 MB / 427.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.3208, allocations: 1.395 MB / 429.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.3211, allocations: 35.75 kB / 429.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.3216, allocations: 217.8 kB / 429.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.3221, allocations: 206 kB / 429.7 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.323, allocations: 395.4 kB / 430.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.3242, allocations: 1.119 MB / 431.2 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005151/0.3247, allocations: 316.5 kB / 431.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.3252, allocations: 414.3 kB / 431.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.3256, allocations: 369.6 kB / 432.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.3258, allocations: 87.94 kB / 432.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.326, allocations: 96 kB / 432.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3261, allocations: 219.1 kB / 432.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003622/0.3265, allocations: 397.8 kB / 433 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.3277, allocations: 1.188 MB / 434.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3277, allocations: 4 kB / 434.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3277, allocations: 4 kB / 434.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.853e-05/0.3277, allocations: 0 / 434.2 MB, free: 3.23 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.001872/0.3296, allocations: 1.271 MB / 435.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3297, allocations: 11.97 kB / 435.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.3299, allocations: 139.2 kB / 435.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3309, allocations: 0.5627 MB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.331, allocations: 77.94 kB / 436.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.3311, allocations: 96 kB / 436.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.3328, allocations: 1.085 MB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.3329, allocations: 7.938 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.3329, allocations: 44 kB / 437.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.333, allocations: 24 kB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3341, allocations: 0.5539 MB / 438.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.3391, allocations: 5.129 MB / 443.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.3396, allocations: 224.9 kB / 443.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.34, allocations: 141.9 kB / 443.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.3401, allocations: 15.88 kB / 443.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.3401, allocations: 46.48 kB / 443.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 3.316e-06/0.3401, allocations: 0 / 443.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004016/0.3441, allocations: 1.59 MB / 445.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.3442, allocations: 81.11 kB / 445.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008853/0.3451, allocations: 0.6526 MB / 446 MB, free: 6.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.3451, allocations: 29.7 kB / 446 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/0.3457, allocations: 0.6239 MB / 446.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.3458, allocations: 150.8 kB / 446.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.346, allocations: 138.5 kB / 446.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.3463, allocations: 382.8 kB / 447.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.3466, allocations: 157.9 kB / 447.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.3472, allocations: 0.4932 MB / 447.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.3482, allocations: 0.692 MB / 448.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.3482, allocations: 4 kB / 448.6 MB, free: 3.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001192/0.3494, allocations: 0.7227 MB / 449.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3494, allocations: 8 kB / 449.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.3494, allocations: 23.92 kB / 449.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.3494, allocations: 16 kB / 449.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006195/0.3501, allocations: 195.7 kB / 449.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.804e-05/0.3501, allocations: 27.92 kB / 449.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.3505, allocations: 35.92 kB / 449.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.3505, allocations: 36 kB / 449.7 MB, free: 2.84 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.0003224/0.3508, allocations: 233.5 kB / 449.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.3509, allocations: 79.48 kB / 450 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3511, allocations: 74.55 kB / 450.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3511, allocations: 4 kB / 450.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3511, allocations: 0 / 450.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3511, allocations: 11.92 kB / 450.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.353, allocations: 1.124 MB / 451.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.353, allocations: 0 / 451.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.3535, allocations: 99.86 kB / 451.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.3535, allocations: 4 kB / 451.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3535, allocations: 15.98 kB / 451.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.3535, allocations: 12.09 kB / 451.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3535, allocations: 3.938 kB / 451.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.3546, allocations: 0.6935 MB / 452 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3548, allocations: 63.48 kB / 452.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.3548, allocations: 19.97 kB / 452.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.3551, allocations: 27.98 kB / 452.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.3552, allocations: 24.05 kB / 452.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.3552, allocations: 23.97 kB / 452.2 MB, free: 252 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005811/0.3558, allocations: 415 kB / 452.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3558, allocations: 0 / 452.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007083/0.3565, allocations: 139.9 kB / 452.7 MB, free: 15.71 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.0001759/0.3567, allocations: 111.2 kB / 452.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008501/0.3576, allocations: 418.1 kB / 453.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3576, allocations: 0 / 453.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.3578, allocations: 143.8 kB / 453.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.3584, allocations: 78.92 kB / 453.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.3611, allocations: 1.673 MB / 455.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.3615, allocations: 421.3 kB / 455.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.3617, allocations: 89.95 kB / 455.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3619, allocations: 71.41 kB / 455.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3619, allocations: 4 kB / 455.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01303/0.3749, allocations: 5.678 MB / 461.4 MB, free: 7.051 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.841366548091173]