Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008012/0.0008012, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001004/0.001805, allocations: 452 kB / 10.43 MB, free: 264 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.0006932/0.0006932, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001758, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8816/0.8816, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1613/1.043, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1525/0.1525, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02501/0.1775, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 4 kB / 267.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.484e-05, allocations: 6.25 kB / 267.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009895/0.001004, allocations: 0.6299 MB / 268.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.001152, allocations: 111.5 kB / 268.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.001173, allocations: 4 kB / 268.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.4e-06/0.001179, allocations: 7.875 kB / 268.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.001269, allocations: 35.77 kB / 268.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.115e-06/0.001272, allocations: 0 / 268.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.001318, allocations: 19.92 kB / 268.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.001357, allocations: 4 kB / 268.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.001401, allocations: 15.92 kB / 268.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.001463, allocations: 11.92 kB / 268.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.001474, allocations: 0 / 268.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.001574, allocations: 51.94 kB / 268.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.001584, allocations: 7.938 kB / 268.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.005e-05/0.001594, allocations: 4 kB / 268.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.858e-05/0.001692, allocations: 39.84 kB / 268.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.001702, allocations: 0 / 268.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.001703, allocations: 0 / 268.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.001712, allocations: 4 kB / 268.4 MB, free: 1.57 MB / 266.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.0002435/0.001956, allocations: 244.5 kB / 268.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.001987, allocations: 11.89 kB / 268.6 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.002017, allocations: 4.938 kB / 268.6 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/0.002098, allocations: 117.6 kB / 268.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.002108, allocations: 4.375 kB / 268.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.00212, allocations: 8.375 kB / 268.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.748e-05/0.002207, allocations: 54.22 kB / 268.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.002214, allocations: 192 / 268.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.002221, allocations: 384 / 268.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.002225, allocations: 384 / 268.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.00228, allocations: 47.77 kB / 268.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.963e-05/0.00237, allocations: 73.03 kB / 268.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.151e-05/0.002451, allocations: 50.56 kB / 269 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.002475, allocations: 24.84 kB / 269 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.002639, allocations: 35.97 kB / 269 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.002659, allocations: 30.84 kB / 269.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.00266, allocations: 0 / 269.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001105/0.002771, allocations: 73.61 kB / 269.1 MB, free: 0.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.002797, allocations: 55.41 kB / 269.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.449e-05/0.002841, allocations: 98.66 kB / 269.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.002852, allocations: 29.7 kB / 269.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.002869, allocations: 80.14 kB / 269.4 MB, free: 424 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.002904, allocations: 35.69 kB / 269.4 MB, free: 388 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.00293, allocations: 25.83 kB / 269.5 MB, free: 356 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.003002, allocations: 322.8 kB / 269.8 MB, free: 24 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.003013, allocations: 8 kB / 269.8 MB, free: 16 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.003024, allocations: 11.94 kB / 269.8 MB, free: 4 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/0.003072, allocations: 36.81 kB / 269.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.003074, allocations: 0 / 269.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 4.977e-05/0.003124, allocations: 61.62 kB / 269.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.003135, allocations: 4 kB / 269.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.003139, allocations: 0 / 269.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.003149, allocations: 0 / 269.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.003224, allocations: 19.98 kB / 269.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.003229, allocations: 11.92 kB / 269.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.003242, allocations: 4 kB / 269.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.003247, allocations: 4 kB / 269.9 MB, free: 15.86 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 5.205e-05/0.003299, allocations: 117.7 kB / 270 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.003307, allocations: 11.98 kB / 270.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.667e-05/0.003404, allocations: 73.58 kB / 270.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.003405, allocations: 0 / 270.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.003407, allocations: 0 / 270.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.00341, allocations: 4 kB / 270.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.98e-05/0.00347, allocations: 85.77 kB / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003471, allocations: 4 kB / 270.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.003503, allocations: 16 kB / 270.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-06/0.003508, allocations: 4 kB / 270.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.00351, allocations: 3.984 kB / 270.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.003513, allocations: 0 / 270.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.003515, allocations: 4 kB / 270.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.003516, allocations: 0 / 270.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.412e-05/0.00358, allocations: 89.73 kB / 270.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.003589, allocations: 4 kB / 270.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.003597, allocations: 0 / 270.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.003611, allocations: 7.984 kB / 270.3 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.003614, allocations: 4 kB / 270.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.222e-06/0.00362, allocations: 4.859 kB / 270.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00362, allocations: 0 / 270.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001045/0.003724, allocations: 19.94 kB / 270.4 MB, free: 15.36 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.349e-05/0.003818, allocations: 96.33 kB / 270.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.979e-05/0.003888, allocations: 44.81 kB / 270.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.003893, allocations: 4 kB / 270.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.00392, allocations: 28.84 kB / 270.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.666e-05/0.003986, allocations: 19.97 kB / 270.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.004206, allocations: 140.5 kB / 270.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.882e-05/0.004235, allocations: 59.36 kB / 270.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.558e-05/0.00426, allocations: 11.97 kB / 270.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.004296, allocations: 51.38 kB / 270.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of SimCode: time 4.6e-07/0.004297, allocations: 0 / 270.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of Templates: time 0.001851/0.006147, allocations: 0.6898 MB / 271.5 MB, free: 14.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5033953841775656]