Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001066/0.001066, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002569, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009731/0.0009731, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009803/0.001953, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8998/0.8998, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07712/0.9769, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.2462/0.2462, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05285/0.299, allocations: 13.11 MB / 291.5 MB, free: 7.34 MB / 282.7 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.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.51e-07/6.51e-07, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.312e-06/6.963e-06, allocations: 2.312 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0008852/0.0008922, allocations: 0.5823 MB / 293.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.001068, allocations: 155.9 kB / 293.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.001086, allocations: 0 / 293.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-06/0.00109, allocations: 0 / 293.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.297e-05/0.001173, allocations: 43.7 kB / 293.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.001175, allocations: 0 / 293.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.023e-05/0.001215, allocations: 19.92 kB / 293.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.001247, allocations: 4 kB / 293.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.001285, allocations: 19.92 kB / 293.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.001334, allocations: 11.92 kB / 293.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.001346, allocations: 4 kB / 293.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.65e-05/0.001443, allocations: 47.89 kB / 293.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.001453, allocations: 7.938 kB / 293.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.358e-06/0.001463, allocations: 4 kB / 293.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.945e-05/0.001552, allocations: 43.89 kB / 293.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.001561, allocations: 0 / 293.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.001561, allocations: 3.938 kB / 293.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.001568, allocations: 0 / 293.8 MB, free: 5.293 MB / 282.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.0002071/0.001775, allocations: 249.2 kB / 294 MB, free: 5.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.001802, allocations: 8.625 kB / 294 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.001828, allocations: 4.938 kB / 294 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.001895, allocations: 106.3 kB / 294.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.001904, allocations: 4.375 kB / 294.1 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.001913, allocations: 4.375 kB / 294.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.426e-05/0.001988, allocations: 54.17 kB / 294.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.001993, allocations: 4.188 kB / 294.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.001999, allocations: 384 / 294.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.002003, allocations: 4.375 kB / 294.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.601e-05/0.002049, allocations: 35.89 kB / 294.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.297e-05/0.002132, allocations: 76.94 kB / 294.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.002208, allocations: 62.56 kB / 294.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.002229, allocations: 20.84 kB / 294.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.002376, allocations: 23.98 kB / 294.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.002396, allocations: 38.56 kB / 294.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.002397, allocations: 0 / 294.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001009/0.002498, allocations: 69.8 kB / 294.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.002522, allocations: 51.41 kB / 294.6 MB, free: 4.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.118e-05/0.002563, allocations: 98.72 kB / 294.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.002573, allocations: 29.7 kB / 294.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.712e-05/0.002591, allocations: 84.12 kB / 294.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.002624, allocations: 35.69 kB / 294.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.002649, allocations: 25.7 kB / 294.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.002715, allocations: 318.8 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.002725, allocations: 12.12 kB / 295.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.002736, allocations: 8 kB / 295.2 MB, free: 3.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.002772, allocations: 45.25 kB / 295.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.002774, allocations: 0 / 295.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.04e-05/0.002824, allocations: 61.62 kB / 295.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.002833, allocations: 7.938 kB / 295.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.002836, allocations: 0 / 295.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.002847, allocations: 0 / 295.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.002915, allocations: 19.98 kB / 295.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.002918, allocations: 0 / 295.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.002931, allocations: 8 kB / 295.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.002935, allocations: 4 kB / 295.3 MB, free: 3.594 MB / 282.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 4.487e-05/0.00298, allocations: 113.8 kB / 295.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.002988, allocations: 11.98 kB / 295.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.301e-05/0.003071, allocations: 73.58 kB / 295.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.003073, allocations: 4 kB / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.003075, allocations: 0 / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003077, allocations: 0 / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.854e-05/0.003136, allocations: 85.72 kB / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.003137, allocations: 0 / 295.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.00317, allocations: 20 kB / 295.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.003174, allocations: 3.984 kB / 295.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.003176, allocations: 4 kB / 295.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.003181, allocations: 4 kB / 295.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.003184, allocations: 7.922 kB / 295.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.003185, allocations: 0 / 295.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.694e-05/0.003252, allocations: 85.06 kB / 295.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.003261, allocations: 7.984 kB / 295.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-06/0.003269, allocations: 0 / 295.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.003281, allocations: 4 kB / 295.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.003284, allocations: 3.984 kB / 295.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.895e-06/0.003292, allocations: 16.8 kB / 295.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003292, allocations: 0 / 295.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001027/0.003395, allocations: 16 kB / 295.8 MB, free: 3.086 MB / 282.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 9.17e-05/0.003487, allocations: 84.36 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.965e-05/0.003556, allocations: 52.75 kB / 295.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.00356, allocations: 0 / 295.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-05/0.003586, allocations: 28.8 kB / 295.9 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.183e-05/0.003648, allocations: 15.92 kB / 295.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.003851, allocations: 146 kB / 296.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.404e-05/0.003875, allocations: 55.36 kB / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.333e-05/0.003898, allocations: 7.984 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.00393, allocations: 59.38 kB / 296.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of SimCode: time 3.61e-07/0.00393, allocations: 0 / 296.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of Templates: time 0.001738/0.005668, allocations: 0.6888 MB / 296.9 MB, free: 1.898 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5683775627985597]