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.001317/0.001317, 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.001413/0.001413, 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.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2289/0.2289, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.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 0.002048/0.002048, allocations: 59.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2856, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001571/0.2872, allocations: 0.5216 MB / 0.5623 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003961/0.2876, allocations: 151.5 kB / 0.5625 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.2876, allocations: 4 kB / 0.5625 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.2876, allocations: 0 / 0.5625 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.2878, allocations: 43.77 kB / 0.5625 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.2878, allocations: 0 / 0.5625 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.367e-05/0.2879, allocations: 19.92 kB / 0.5625 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.2879, allocations: 4 kB / 0.5625 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.288, allocations: 15.86 kB / 0.5626 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.288, allocations: 11.98 kB / 0.5626 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.288, allocations: 4 kB / 0.5626 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2881, allocations: 55.88 kB / 0.5626 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.2882, allocations: 0 / 0.5626 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.2882, allocations: 19.86 kB / 0.5626 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.2883, allocations: 43.53 kB / 0.5627 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2883, allocations: 0 / 0.5627 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2883, allocations: 0 / 0.5627 GB, free: 3.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2883, allocations: 0 / 0.5627 GB, free: 3.301 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003721/0.2887, allocations: 268.8 kB / 0.5629 GB, free: 3.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2887, allocations: 8.031 kB / 0.5629 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.2887, allocations: 4.938 kB / 0.5629 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2889, allocations: 106.5 kB / 0.5631 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2889, allocations: 8.375 kB / 0.5631 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2889, allocations: 384 / 0.5631 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.289, allocations: 62.17 kB / 0.5631 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.289, allocations: 192 / 0.5631 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.289, allocations: 7.938 kB / 0.5631 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.289, allocations: 4 kB / 0.5631 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/0.2891, allocations: 43.95 kB / 0.5632 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.2893, allocations: 117.3 kB / 0.5633 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.2895, allocations: 78.58 kB / 0.5634 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.2895, allocations: 28.84 kB / 0.5634 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.2897, allocations: 23.98 kB / 0.5634 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.2898, allocations: 34.5 kB / 0.5634 GB, free: 2.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.2898, allocations: 0 / 0.5634 GB, free: 2.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002393/0.29, allocations: 109.7 kB / 0.5635 GB, free: 2.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.2901, allocations: 51.41 kB / 0.5636 GB, free: 2.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.2901, allocations: 93.86 kB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2901, allocations: 25.7 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.2902, allocations: 92.25 kB / 0.5638 GB, free: 2.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.2902, allocations: 31.7 kB / 0.5638 GB, free: 1.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.2903, allocations: 21.7 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2904, allocations: 319.2 kB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/0.2904, allocations: 15.98 kB / 0.5642 GB, free: 1.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.2905, allocations: 23.88 kB / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.147e-05/0.2906, allocations: 52.84 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2906, allocations: 0 / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001342/0.2907, allocations: 89.58 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2907, allocations: 4 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.2907, allocations: 0 / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2907, allocations: 4 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.2908, allocations: 23.92 kB / 0.5644 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2908, allocations: 3.984 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.2909, allocations: 3.938 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2909, allocations: 4 kB / 0.5644 GB, free: 1.398 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: 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 9.118e-05/0.291, allocations: 113.8 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.291, allocations: 7.953 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.2912, allocations: 97.58 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2912, allocations: 7.922 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2912, allocations: 8 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-06/0.2912, allocations: 3.938 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2912, allocations: 384 / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.2912, allocations: 8 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.2912, allocations: 3.984 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002251/0.2915, allocations: 168.8 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002278/0.2917, allocations: 262.7 kB / 0.565 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.827e-05/0.2917, allocations: 27.92 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.413e-05/0.2918, allocations: 75.28 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of Backend: time 1.8e-07/0.2918, allocations: 0 / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.2922, allocations: 126.3 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of SimCode: time 0.0004653/0.2927, allocations: 0.5604 MB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Templates: time 0.003499/0.2962, allocations: 0.9897 MB / 0.5668 GB, free: 14.86 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.814080795040354]