Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2571, allocations: 53.37 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.0042/0.2613, allocations: 2.696 MB / 435 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2625, allocations: 0.6817 MB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.2627, allocations: 11.94 kB / 435.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.2628, allocations: 51.44 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.263, allocations: 91.19 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.2633, allocations: 95.75 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.2637, allocations: 386.8 kB / 436.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.2639, allocations: 112.8 kB / 436.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.2642, allocations: 163.4 kB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.2644, allocations: 131.3 kB / 436.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.2645, allocations: 32 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.2645, allocations: 32 kB / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.2646, allocations: 75.75 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.2647, allocations: 143.4 kB / 437 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.2652, allocations: 385.4 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2652, allocations: 3.938 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2652, allocations: 4 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2652, allocations: 0 / 437.4 MB, free: 1.605 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.000967/0.2662, allocations: 0.5543 MB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2662, allocations: 12.03 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.2663, allocations: 40.7 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.2666, allocations: 206.7 kB / 438.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.2667, allocations: 21.03 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.2667, allocations: 36.38 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.2673, allocations: 333.8 kB / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2673, allocations: 0 / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.2673, allocations: 12 kB / 438.6 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2674, allocations: 11.98 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.2678, allocations: 218.5 kB / 438.8 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.2694, allocations: 0.8517 MB / 439.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.2697, allocations: 154.5 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.27, allocations: 116.8 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.27, allocations: 4 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.27, allocations: 42.5 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.27, allocations: 0 / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005786/0.2706, allocations: 225.8 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2706, allocations: 51.41 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.2708, allocations: 195.8 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.2709, allocations: 29.7 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.271, allocations: 204.2 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.2711, allocations: 75.38 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.2712, allocations: 53.98 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2713, allocations: 326.8 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.2715, allocations: 72.52 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.2717, allocations: 151.2 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.2721, allocations: 225.2 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2721, allocations: 0 / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005148/0.2726, allocations: 269.1 kB / 441.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2727, allocations: 7.938 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.2727, allocations: 4.25 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.2727, allocations: 8 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.273, allocations: 75.89 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.273, allocations: 7.938 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.2732, allocations: 31.77 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.2732, allocations: 8 kB / 442 MB, free: 12.76 MB / 350.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.000139/0.2733, allocations: 145.8 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.2734, allocations: 19.84 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/0.2738, allocations: 197.2 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2738, allocations: 4 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2738, allocations: 0 / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2738, allocations: 3.984 kB / 442.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.2746, allocations: 0.5022 MB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2746, allocations: 3.938 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.2749, allocations: 59.97 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2749, allocations: 4 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2749, allocations: 4 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.2749, allocations: 4 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2749, allocations: 0 / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.2756, allocations: 384.6 kB / 443.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.2756, allocations: 19.84 kB / 443.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.2757, allocations: 12.06 kB / 443.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2758, allocations: 15.98 kB / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.2759, allocations: 19.97 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.2759, allocations: 4 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.276, allocations: 140.5 kB / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.276, allocations: 0 / 443.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.2764, allocations: 83.73 kB / 443.6 MB, free: 11.08 MB / 350.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.0001394/0.2765, allocations: 107.2 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.2769, allocations: 167.7 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2769, allocations: 0 / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2771, allocations: 79.84 kB / 443.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.2774, allocations: 28.55 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2789, allocations: 0.8743 MB / 444.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.2791, allocations: 163.1 kB / 445 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.2791, allocations: 19.44 kB / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2791, allocations: 0 / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Templates: time 0.005309/0.2844, allocations: 3.028 MB / 448 MB, free: 6.566 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.198948394972831]