Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.0008686/0.0008686, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.000928/0.000928, allocations: 166.3 kB / 24.99 MB, free: 8.285 MB / 18.57 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.246/0.246, allocations: 32.8 MB / 294.6 MB, free: 1.289 MB / 266.7 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.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.762e-05, allocations: 4.281 kB / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001034/0.001052, allocations: 0.5399 MB / 376.5 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002885/0.00134, allocations: 147.4 kB / 376.7 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.001364, allocations: 0 / 376.7 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.001378, allocations: 0 / 376.7 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.001598, allocations: 39.77 kB / 376.7 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.026e-06/0.001601, allocations: 4 kB / 376.7 MB, free: 4.281 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.257e-05/0.001654, allocations: 23.86 kB / 376.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.00169, allocations: 3.984 kB / 376.7 MB, free: 4.254 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.001717, allocations: 11.94 kB / 376.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.001772, allocations: 7.984 kB / 376.7 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.001783, allocations: 4 kB / 376.8 MB, free: 4.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.813e-05/0.001871, allocations: 55.86 kB / 376.8 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.001885, allocations: 7.938 kB / 376.8 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.001898, allocations: 0 / 376.8 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.986e-05/0.001998, allocations: 51.8 kB / 376.9 MB, free: 4.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002, allocations: 8 kB / 376.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002001, allocations: 0 / 376.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.002004, allocations: 0 / 376.9 MB, free: 4.109 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002414/0.002246, allocations: 364.5 kB / 377.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.002281, allocations: 8.031 kB / 377.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.00232, allocations: 12.88 kB / 377.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.953e-05/0.002399, allocations: 112.6 kB / 377.4 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.00241, allocations: 384 / 377.4 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.00242, allocations: 8.375 kB / 377.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.002512, allocations: 50.23 kB / 377.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.002518, allocations: 4.188 kB / 377.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.002528, allocations: 384 / 377.4 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.002536, allocations: 4.375 kB / 377.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.329e-05/0.002609, allocations: 51.83 kB / 377.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.002734, allocations: 124.6 kB / 377.6 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.002846, allocations: 78.98 kB / 377.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.002885, allocations: 27.95 kB / 377.7 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.003059, allocations: 27.91 kB / 377.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.003079, allocations: 37.39 kB / 377.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.00308, allocations: 8 kB / 377.8 MB, free: 3.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001697/0.00325, allocations: 89.62 kB / 377.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.003276, allocations: 51.41 kB / 377.9 MB, free: 2.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.003339, allocations: 161.9 kB / 378.1 MB, free: 2.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.003348, allocations: 25.7 kB / 378.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.003375, allocations: 130.9 kB / 378.2 MB, free: 2.582 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.003407, allocations: 35.64 kB / 378.3 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.003437, allocations: 31.36 kB / 378.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.003532, allocations: 492.1 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.003553, allocations: 16.11 kB / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.003572, allocations: 16 kB / 378.8 MB, free: 1.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.003633, allocations: 51.61 kB / 378.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.003635, allocations: 0 / 378.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8e-05/0.003715, allocations: 82.19 kB / 378.9 MB, free: 1.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.003728, allocations: 5.875 kB / 378.9 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.003732, allocations: 0 / 378.9 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.003743, allocations: 4 kB / 378.9 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.003817, allocations: 15.98 kB / 379 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.003822, allocations: 0 / 379 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.003837, allocations: 7.891 kB / 379 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.003843, allocations: 8 kB / 379 MB, free: 1.805 MB / 346.7 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 (10): * Single equations (assignments): 10 * 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 5.627e-05/0.003899, allocations: 156.6 kB / 379.1 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.003906, allocations: 4 kB / 379.1 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.004026, allocations: 101.6 kB / 379.2 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.004029, allocations: 3.984 kB / 379.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.004033, allocations: 4 kB / 379.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.004037, allocations: 3.938 kB / 379.2 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.898e-05/0.004106, allocations: 128.6 kB / 379.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.004107, allocations: 0 / 379.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.004144, allocations: 19.92 kB / 379.4 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.004145, allocations: 4 kB / 379.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.004153, allocations: 4 kB / 379.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.004155, allocations: 7.938 kB / 379.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.004155, allocations: 0 / 379.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.995e-05/0.004245, allocations: 120.3 kB / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.004251, allocations: 7.891 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.004261, allocations: 4 kB / 379.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.004272, allocations: 4 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.00429, allocations: 7.984 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.004293, allocations: 3.984 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.603e-05/0.004319, allocations: 123.2 kB / 379.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004319, allocations: 0 / 379.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001325/0.004452, allocations: 19.94 kB / 379.7 MB, free: 1.02 MB / 346.7 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 (10): * Single equations (assignments): 10 * 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.0001013/0.004553, allocations: 103.2 kB / 379.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.004645, allocations: 55.59 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.004647, allocations: 0 / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.004674, allocations: 39.61 kB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.004778, allocations: 14.34 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.005035, allocations: 146.3 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.005064, allocations: 59.34 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.54e-05/0.005089, allocations: 4 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.005107, allocations: 12.5 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.005108, allocations: 0 / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of Templates: time 0.00201/0.007118, allocations: 0.6547 MB / 380.8 MB, free: 15.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.98955355794169]