Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.001527/0.001527, 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.001448/0.001448, allocations: 185 kB / 23.7 MB, free: 4.191 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.494/1.494, 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.91 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2591, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004724/0.2638, allocations: 2.682 MB / 425.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2653, allocations: 0.6466 MB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.2655, allocations: 7.938 kB / 426.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.2657, allocations: 59.44 kB / 426.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.2659, allocations: 83.2 kB / 426.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2663, allocations: 107.8 kB / 426.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004892/0.2668, allocations: 382.8 kB / 427 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.267, allocations: 116.5 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.2673, allocations: 151.5 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.2675, allocations: 135.2 kB / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.2676, allocations: 36 kB / 427.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.2676, allocations: 32 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.2677, allocations: 71.77 kB / 427.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.2679, allocations: 147.4 kB / 427.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2684, allocations: 389 kB / 428.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2684, allocations: 0 / 428.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2684, allocations: 0 / 428.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.2684, allocations: 0 / 428.1 MB, free: 9.461 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001087/0.2695, allocations: 0.5598 MB / 428.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2695, allocations: 8.031 kB / 428.7 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.2696, allocations: 40.7 kB / 428.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.2701, allocations: 198 kB / 428.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.2701, allocations: 25.03 kB / 428.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.2702, allocations: 36.27 kB / 428.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.2708, allocations: 333.8 kB / 429.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2708, allocations: 0 / 429.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.2709, allocations: 16 kB / 429.3 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.2709, allocations: 12 kB / 429.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.2714, allocations: 210.5 kB / 429.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.273, allocations: 0.8518 MB / 430.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.2734, allocations: 150.6 kB / 430.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.2737, allocations: 119.2 kB / 430.6 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2737, allocations: 4 kB / 430.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.2738, allocations: 42.38 kB / 430.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.2738, allocations: 8 kB / 430.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006434/0.2744, allocations: 216.7 kB / 430.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.2745, allocations: 55.41 kB / 430.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.2747, allocations: 200.9 kB / 431.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.2747, allocations: 29.7 kB / 431.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.2749, allocations: 192.4 kB / 431.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.275, allocations: 79.33 kB / 431.4 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.2751, allocations: 45.98 kB / 431.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2752, allocations: 338.8 kB / 431.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2754, allocations: 72.45 kB / 431.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.2757, allocations: 147.2 kB / 432 MB, free: 5.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.2761, allocations: 229.2 kB / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2761, allocations: 0 / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000525/0.2766, allocations: 273.4 kB / 432.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2766, allocations: 11.97 kB / 432.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2766, allocations: 4 kB / 432.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2766, allocations: 4 kB / 432.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.277, allocations: 71.89 kB / 432.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.277, allocations: 4 kB / 432.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.2771, allocations: 23.83 kB / 432.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.2771, allocations: 12 kB / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001562/0.2773, allocations: 145.8 kB / 432.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.2773, allocations: 27.8 kB / 432.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.2778, allocations: 201 kB / 433 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2778, allocations: 4 kB / 433 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2778, allocations: 0 / 433 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2778, allocations: 0 / 433 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.2787, allocations: 0.4995 MB / 433.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2787, allocations: 8 kB / 433.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.279, allocations: 63.89 kB / 433.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.279, allocations: 4 kB / 433.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.279, allocations: 0 / 433.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.279, allocations: 4 kB / 433.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.279, allocations: 3.984 kB / 433.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.2797, allocations: 373.3 kB / 434 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.2797, allocations: 27.78 kB / 434 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2798, allocations: 8.062 kB / 434 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2799, allocations: 15.98 kB / 434 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.28, allocations: 15.97 kB / 434 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.28, allocations: 8 kB / 434 MB, free: 3.148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.2802, allocations: 143 kB / 434.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2802, allocations: 3.938 kB / 434.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.2805, allocations: 79.78 kB / 434.3 MB, free: 2.926 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.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 (21): * Single equations (assignments): 21 * 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.0001655/0.2807, allocations: 107.2 kB / 434.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.2812, allocations: 170.6 kB / 434.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2812, allocations: 0 / 434.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.2813, allocations: 83.78 kB / 434.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2817, allocations: 32.73 kB / 434.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.2833, allocations: 0.8427 MB / 435.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.2834, allocations: 163 kB / 435.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.503e-05/0.2835, allocations: 21.94 kB / 435.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.2836, allocations: 19.44 kB / 435.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2836, allocations: 0 / 435.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of Templates: time 0.006543/0.2901, allocations: 2.163 MB / 437.8 MB, free: 15.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.730844121426344]