Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.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.001905/0.001905, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002261/0.002261, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.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.2305/0.2305, allocations: 46.97 MB / 361.6 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 180] 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.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.89 kB / 0.4973 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3656, allocations: 66.04 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.002312/0.3679, allocations: 485 kB / 0.5623 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007994/0.3687, allocations: 253.6 kB / 0.5625 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.3687, allocations: 4 kB / 0.5625 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.3688, allocations: 4 kB / 0.5625 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.3688, allocations: 0 / 0.5625 GB, free: 3.48 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.3692, allocations: 55.77 kB / 0.5626 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.3692, allocations: 3.984 kB / 0.5626 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3693, allocations: 7.922 kB / 0.5626 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.3693, allocations: 4 kB / 0.5626 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.638e-05/0.3693, allocations: 0 / 0.5626 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.3693, allocations: 0 / 0.5626 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.3695, allocations: 63.95 kB / 0.5626 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.256e-06/0.3696, allocations: 0 / 0.5626 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.3696, allocations: 0 / 0.5626 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3697, allocations: 63.66 kB / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3697, allocations: 0 / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3697, allocations: 0 / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3697, allocations: 0 / 0.5627 GB, free: 3.289 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005275/0.3703, allocations: 290.6 kB / 0.563 GB, free: 2.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.3703, allocations: 8.031 kB / 0.563 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.3704, allocations: 0.9375 kB / 0.563 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.3705, allocations: 106.5 kB / 0.5631 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3705, allocations: 384 / 0.5631 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3705, allocations: 4.375 kB / 0.5631 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.3707, allocations: 59.95 kB / 0.5632 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3707, allocations: 192 / 0.5632 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3707, allocations: 3.938 kB / 0.5632 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3707, allocations: 7.938 kB / 0.5632 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.3707, allocations: 25.7 kB / 0.5632 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.3709, allocations: 101.4 kB / 0.5633 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.3709, allocations: 40.28 kB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.371, allocations: 34.55 kB / 0.5634 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-06/0.371, allocations: 4.062 kB / 0.5634 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.371, allocations: 56.27 kB / 0.5634 GB, free: 2.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.371, allocations: 4 kB / 0.5634 GB, free: 2.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002327/0.3713, allocations: 122.7 kB / 0.5635 GB, free: 2.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.3713, allocations: 81.09 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.3714, allocations: 93.81 kB / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3714, allocations: 29.7 kB / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.3715, allocations: 80.14 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.3715, allocations: 0 / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.3715, allocations: 17.72 kB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3717, allocations: 310.8 kB / 0.5641 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.3717, allocations: 25.7 kB / 0.5641 GB, free: 1.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.3717, allocations: 29.83 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.103e-05/0.3718, allocations: 72.25 kB / 0.5642 GB, free: 1.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3718, allocations: 3.938 kB / 0.5642 GB, free: 1.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.3719, allocations: 89.05 kB / 0.5643 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.3719, allocations: 33.7 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3719, allocations: 0 / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3719, allocations: 0 / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.005e-06/0.3719, allocations: 3.984 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.372, allocations: 3.938 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.372, allocations: 96 / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.372, allocations: 7.984 kB / 0.5644 GB, free: 1.301 MB / 398.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001128/0.3721, allocations: 135.5 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.3721, allocations: 3.938 kB / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.3721, allocations: 11 kB / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3721, allocations: 0 / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3721, allocations: 3.938 kB / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-06/0.3721, allocations: 0 / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3721, allocations: 3.984 kB / 0.5645 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/0.3722, allocations: 0 / 0.5645 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.3722, allocations: 4 kB / 0.5645 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001725/0.3723, allocations: 223.7 kB / 0.5647 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001984/0.3725, allocations: 266.2 kB / 0.565 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.647e-05/0.3726, allocations: 33.69 kB / 0.565 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.3726, allocations: 75.28 kB / 0.5651 GB, free: 484 kB / 398.1 MB Notification: Performance of Backend: time 2.71e-07/0.3726, allocations: 0 / 0.5651 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3738, allocations: 349.8 kB / 0.5654 GB, free: 192 kB / 398.1 MB Notification: Performance of SimCode: time 0.0006128/0.3744, allocations: 0.5834 MB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Templates: time 0.003955/0.3784, allocations: 0.8175 MB / 0.5668 GB, free: 14.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestInternal.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.995888327997818]