Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00189/0.00189, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001875/0.001875, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.49/1.49, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 32.81 MB / 293.5 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 440 MB, free: 8.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/2.99e-05, allocations: 2.281 kB / 440 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001547/0.001576, allocations: 0.4962 MB / 440.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.005216, allocations: 2.058 MB / 442.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.005236, allocations: 4 kB / 442.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.005254, allocations: 0 / 442.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.75e-05/0.005272, allocations: 0 / 442.6 MB, free: 5.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.006576, allocations: 409.3 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.006626, allocations: 3.984 kB / 443 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.006671, allocations: 8 kB / 443 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.006697, allocations: 0 / 443 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02107/0.02777, allocations: 3.374 MB / 446.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.02779, allocations: 0 / 446.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.02788, allocations: 12 kB / 446.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.02789, allocations: 3.938 kB / 446.4 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.02792, allocations: 7.984 kB / 446.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.02808, allocations: 11.92 kB / 446.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.02808, allocations: 0 / 446.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02808, allocations: 0 / 446.4 MB, free: 2.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.02809, allocations: 0 / 446.4 MB, free: 2.426 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.0003475/0.02844, allocations: 242.4 kB / 446.7 MB, free: 2.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.02848, allocations: 8.031 kB / 446.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.0287, allocations: 88.2 kB / 446.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.02885, allocations: 181.1 kB / 446.9 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.3e-05/0.02892, allocations: 154.9 kB / 447.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.029, allocations: 158.9 kB / 447.2 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.02908, allocations: 101.5 kB / 447.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/0.02912, allocations: 79.22 kB / 447.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.0292, allocations: 150.6 kB / 447.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/0.02927, allocations: 150.6 kB / 447.7 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.962e-05/0.02935, allocations: 154.6 kB / 447.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.02966, allocations: 397.5 kB / 448.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.02979, allocations: 181.2 kB / 448.4 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.02984, allocations: 80.14 kB / 448.5 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.02988, allocations: 79.28 kB / 448.6 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.007e-05/0.02995, allocations: 109.8 kB / 448.7 MB, free: 40 kB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.02995, allocations: 0 / 448.7 MB, free: 40 kB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 9.199e-05/0.03004, allocations: 33.58 kB / 448.7 MB, free: 0 / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2248/0.2548, allocations: 178.1 kB / 448.9 MB, free: 22.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.2549, allocations: 93.94 kB / 449 MB, free: 22.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.255, allocations: 26.48 kB / 449 MB, free: 22.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.255, allocations: 85.14 kB / 449.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.255, allocations: 0 / 449.1 MB, free: 22.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.255, allocations: 15.39 kB / 449.1 MB, free: 22.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.2551, allocations: 315 kB / 449.4 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-06/0.2551, allocations: 3.797 kB / 449.4 MB, free: 22.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.2551, allocations: 64.06 kB / 449.5 MB, free: 22.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.729e-05/0.2551, allocations: 79.59 kB / 449.6 MB, free: 21.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.2551, allocations: 75.28 kB / 449.6 MB, free: 21.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.363e-05/0.2552, allocations: 35.52 kB / 449.7 MB, free: 21.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.2552, allocations: 80.78 kB / 449.7 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.2552, allocations: 83.73 kB / 449.8 MB, free: 21.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/0.2553, allocations: 155.6 kB / 450 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.088e-05/0.2553, allocations: 77 kB / 450.1 MB, free: 21.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.2553, allocations: 156.3 kB / 450.2 MB, free: 21.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.2554, allocations: 78.14 kB / 450.3 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2554, allocations: 83.86 kB / 450.4 MB, free: 21.18 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.938e-05/0.2555, allocations: 264.5 kB / 450.6 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.2555, allocations: 102.9 kB / 450.7 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.2555, allocations: 109.8 kB / 450.8 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.2556, allocations: 187.3 kB / 451 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/0.2556, allocations: 177.9 kB / 451.2 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.2556, allocations: 186.5 kB / 451.4 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2558, allocations: 351.7 kB / 451.7 MB, free: 19.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.2558, allocations: 105.7 kB / 451.8 MB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.2558, allocations: 106.6 kB / 451.9 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.752e-05/0.2558, allocations: 179.1 kB / 452.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.2559, allocations: 183.9 kB / 452.3 MB, free: 19.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.543e-05/0.2559, allocations: 181.9 kB / 452.5 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.67e-05/0.2559, allocations: 181 kB / 452.6 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.247e-05/0.256, allocations: 304 kB / 452.9 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.256, allocations: 110.7 kB / 453 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.2561, allocations: 182.6 kB / 453.2 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.2561, allocations: 108.7 kB / 453.3 MB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.2562, allocations: 185.1 kB / 453.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.2562, allocations: 105 kB / 453.6 MB, free: 17.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.072e-05/0.2562, allocations: 76.44 kB / 453.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2562, allocations: 0 / 453.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.2565, allocations: 2.406 kB / 453.7 MB, free: 17.77 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 0.0001064/0.2566, allocations: 170.9 kB / 453.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.055e-05/0.2567, allocations: 7.219 kB / 453.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2567, allocations: 7.594 kB / 453.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.2567, allocations: 0 / 453.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.257, allocations: 462.8 kB / 454.3 MB, free: 17.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.2571, allocations: 152.6 kB / 454.5 MB, free: 16.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.2572, allocations: 55.17 kB / 454.5 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.473e-05/0.2572, allocations: 0 / 454.5 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.2572, allocations: 9.656 kB / 454.5 MB, free: 16.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2572, allocations: 0 / 454.5 MB, free: 16.91 MB / 366.1 MB Notification: Performance of Templates: time 0.00292/0.2601, allocations: 349.4 kB / 454.9 MB, free: 16.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.855638891458511]