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.002043/0.002043, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002615/0.002615, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.455/1.455, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 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.329/0.329, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.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 5.821e-06/5.821e-06, allocations: 4 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/3.351e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001687/0.001721, allocations: 0.5275 MB / 377.8 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004318/0.002153, allocations: 143.5 kB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.002179, allocations: 0 / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.002194, allocations: 7.938 kB / 377.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.002446, allocations: 35.78 kB / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.002449, allocations: 0 / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.162e-05/0.002511, allocations: 27.84 kB / 378 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.002545, allocations: 7.984 kB / 378 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.00258, allocations: 15.92 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.00264, allocations: 15.92 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.002651, allocations: 0 / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.002766, allocations: 43.95 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.002779, allocations: 3.984 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.002806, allocations: 15.92 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.002934, allocations: 35.89 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.002936, allocations: 0 / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.002937, allocations: 0 / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.00294, allocations: 0 / 378.1 MB, free: 2.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.0003604/0.003301, allocations: 274.1 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.003338, allocations: 12.03 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.003385, allocations: 8.891 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.003505, allocations: 105.8 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.00352, allocations: 4.375 kB / 378.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.003534, allocations: 8.312 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.003675, allocations: 58.23 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.003683, allocations: 192 / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.003693, allocations: 384 / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.003697, allocations: 384 / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.003823, allocations: 55.89 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.004009, allocations: 117.3 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.004173, allocations: 78.58 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.004233, allocations: 28.84 kB / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.004482, allocations: 19.98 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.004522, allocations: 34.56 kB / 378.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.004523, allocations: 0 / 378.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002911/0.004815, allocations: 109.8 kB / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.004862, allocations: 51.41 kB / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.004958, allocations: 101.8 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.00498, allocations: 29.7 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.00503, allocations: 80.14 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.005084, allocations: 35.69 kB / 379.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.005132, allocations: 25.66 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.005308, allocations: 318.8 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.005346, allocations: 16 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.005381, allocations: 15.98 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.404e-05/0.005475, allocations: 52.86 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005477, allocations: 0 / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001526/0.005629, allocations: 90.17 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.005645, allocations: 8.125 kB / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.00565, allocations: 0 / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.005667, allocations: 0 / 379.8 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.005772, allocations: 19.94 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.005777, allocations: 3.938 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.00581, allocations: 11.83 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.005824, allocations: 11.98 kB / 379.9 MB, free: 188 kB / 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 9.037e-05/0.005915, allocations: 105.8 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.005934, allocations: 8 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.006162, allocations: 105.7 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.006164, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.006168, allocations: 0 / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.006174, allocations: 3.938 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.006307, allocations: 125.2 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006308, allocations: 0 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.00638, allocations: 12 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.006382, allocations: 0 / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.006394, allocations: 8 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.006398, allocations: 3.984 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006399, allocations: 0 / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.006589, allocations: 117 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.006602, allocations: 11.89 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.006617, allocations: 4 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.655e-05/0.006644, allocations: 0 / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.006662, allocations: 7.984 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.006671, allocations: 7.984 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.006716, allocations: 75.28 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006716, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.006936, allocations: 27.86 kB / 380.5 MB, free: 15.51 MB / 362.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.0001687/0.007105, allocations: 115.3 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.007244, allocations: 51.91 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007246, allocations: 0 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.007295, allocations: 24 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.007441, allocations: 4 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.00781, allocations: 144.5 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.238e-05/0.007882, allocations: 71.25 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.007925, allocations: 15.92 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.007957, allocations: 12.5 kB / 380.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.007958, allocations: 0 / 380.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Templates: time 0.003236/0.01119, allocations: 0.6468 MB / 381.6 MB, free: 14.38 MB / 362.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/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.594736929982901]