Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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.001845/0.001845, allocations: 81.25 kB / 20.68 MB, free: 1.039 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.001565/0.001565, allocations: 163.5 kB / 23.96 MB, free: 4.164 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.493/1.493, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2704/0.2704, allocations: 34.27 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 442.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.324e-05, allocations: 6.219 kB / 442.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001561/0.001594, allocations: 0.4966 MB / 443.1 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.005105, allocations: 2.05 MB / 445.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.005126, allocations: 3.938 kB / 445.2 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.005141, allocations: 4 kB / 445.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.139e-05/0.005172, allocations: 0 / 445.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.006508, allocations: 409.5 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.006559, allocations: 0 / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.006608, allocations: 7.984 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.00664, allocations: 3.938 kB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2493/0.2559, allocations: 3.376 MB / 449 MB, free: 17.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2559, allocations: 0.9688 kB / 449 MB, free: 17.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.256, allocations: 11.91 kB / 449 MB, free: 17.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.256, allocations: 1.031 kB / 449 MB, free: 17.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.2561, allocations: 1.062 kB / 449 MB, free: 17.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2562, allocations: 13.03 kB / 449 MB, free: 17.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2562, allocations: 0 / 449 MB, free: 17.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2562, allocations: 1.062 kB / 449 MB, free: 17.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2562, allocations: 0 / 449 MB, free: 17.52 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002828/0.2565, allocations: 241.8 kB / 449.2 MB, free: 17.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.2566, allocations: 13.34 kB / 449.3 MB, free: 17.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.2568, allocations: 89.62 kB / 449.4 MB, free: 17.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.2569, allocations: 183.4 kB / 449.5 MB, free: 16.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.2569, allocations: 151.8 kB / 449.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.2569, allocations: 155.7 kB / 449.8 MB, free: 16.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.91e-05/0.257, allocations: 103.1 kB / 449.9 MB, free: 16.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.257, allocations: 77.31 kB / 450 MB, free: 16.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.257, allocations: 155.2 kB / 450.2 MB, free: 16.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.257, allocations: 151.8 kB / 450.3 MB, free: 16.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.2571, allocations: 155.4 kB / 450.5 MB, free: 16.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.2572, allocations: 401.7 kB / 450.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/0.2573, allocations: 166.9 kB / 451 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.2573, allocations: 81.64 kB / 451.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2574, allocations: 80.16 kB / 451.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.2574, allocations: 111.1 kB / 451.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2574, allocations: 0 / 451.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.742e-05/0.2575, allocations: 27.61 kB / 451.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.2575, allocations: 184 kB / 451.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.2576, allocations: 93.03 kB / 451.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.2576, allocations: 29.78 kB / 451.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.2576, allocations: 81.42 kB / 451.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.2576, allocations: 3.656 kB / 451.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.2577, allocations: 16.81 kB / 451.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.2577, allocations: 313.2 kB / 452 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-06/0.2577, allocations: 5.312 kB / 452 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.2578, allocations: 65.22 kB / 452.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.617e-05/0.2578, allocations: 76.16 kB / 452.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.2578, allocations: 77 kB / 452.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.728e-05/0.2578, allocations: 29.08 kB / 452.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2579, allocations: 83.69 kB / 452.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.2579, allocations: 80.22 kB / 452.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/0.2579, allocations: 152.4 kB / 452.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-05/0.2579, allocations: 88.09 kB / 452.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.2579, allocations: 152.1 kB / 452.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.258, allocations: 83.88 kB / 452.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.258, allocations: 81.66 kB / 453 MB, free: 13.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 6.406e-05/0.2581, allocations: 259.6 kB / 453.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.2581, allocations: 108.2 kB / 453.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.2582, allocations: 110.3 kB / 453.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.2582, allocations: 177.9 kB / 453.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.124e-05/0.2582, allocations: 185.9 kB / 453.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.2583, allocations: 182.2 kB / 454 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2584, allocations: 355.7 kB / 454.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.2584, allocations: 106.8 kB / 454.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.2584, allocations: 109 kB / 454.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.758e-05/0.2584, allocations: 182.9 kB / 454.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.2585, allocations: 186.8 kB / 454.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.636e-05/0.2585, allocations: 178.1 kB / 455.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-05/0.2585, allocations: 182.6 kB / 455.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.928e-05/0.2586, allocations: 307.3 kB / 455.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.2586, allocations: 110.6 kB / 455.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.2587, allocations: 179.3 kB / 455.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.2587, allocations: 108 kB / 455.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.2588, allocations: 187.8 kB / 456.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.2588, allocations: 105.5 kB / 456.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.903e-05/0.2588, allocations: 82.95 kB / 456.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2588, allocations: 0 / 456.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.2591, allocations: 1.938 kB / 456.3 MB, free: 10.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 9.889e-05/0.2592, allocations: 166 kB / 456.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.963e-05/0.2592, allocations: 1.969 kB / 456.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2592, allocations: 0.9062 kB / 456.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.2592, allocations: 4.062 kB / 456.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2595, allocations: 460 kB / 456.9 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.2597, allocations: 154.3 kB / 457.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.2598, allocations: 59.47 kB / 457.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.2598, allocations: 0.8906 kB / 457.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.2598, allocations: 9.375 kB / 457.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2598, allocations: 0 / 457.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of Templates: time 0.003281/0.2631, allocations: 344.7 kB / 457.5 MB, free: 9.184 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestExamplesCalculator.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: 5.0128095000982285]