Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001437/0.001437, allocations: 88.22 kB / 20.2 MB, free: 4.344 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.00161/0.00161, allocations: 169.7 kB / 23.52 MB, free: 1.035 MB / 18.57 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 1.354/1.354, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2145/0.2145, allocations: 32.36 MB / 270 MB, free: 14.87 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.574e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001317/0.001342, allocations: 0.5074 MB / 347.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.002731, allocations: 1.341 MB / 348.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.002758, allocations: 4 kB / 348.8 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.002783, allocations: 0 / 348.8 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.002818, allocations: 0 / 348.8 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.003464, allocations: 215.9 kB / 349 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.003504, allocations: 11.98 kB / 349 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.003541, allocations: 0 / 349 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.003569, allocations: 11.94 kB / 349 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.003617, allocations: 0 / 349 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00363, allocations: 0 / 349 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.004003, allocations: 259.6 kB / 349.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.004014, allocations: 3.984 kB / 349.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.004036, allocations: 4 kB / 349.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.004248, allocations: 191.5 kB / 349.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.004251, allocations: 0 / 349.4 MB, free: 7.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004252, allocations: 4 kB / 349.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.004255, allocations: 0 / 349.5 MB, free: 7.266 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00027/0.004525, allocations: 258.3 kB / 349.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.004558, allocations: 16.02 kB / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.004603, allocations: 0.9375 kB / 349.7 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.743e-05/0.004651, allocations: 109.7 kB / 349.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.004671, allocations: 384 / 349.8 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.004682, allocations: 4.375 kB / 349.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.004786, allocations: 67.89 kB / 349.9 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004794, allocations: 192 / 349.9 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.004806, allocations: 12.38 kB / 349.9 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.00481, allocations: 3.938 kB / 349.9 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.004837, allocations: 4 kB / 349.9 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.005103, allocations: 192.5 kB / 350.1 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.00514, allocations: 14.58 kB / 350.1 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.005157, allocations: 12.97 kB / 350.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.00517, allocations: 3.984 kB / 350.1 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.005196, allocations: 38.44 kB / 350.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/0.005197, allocations: 0 / 350.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001583/0.005355, allocations: 33.8 kB / 350.2 MB, free: 6.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/0.005373, allocations: 55.44 kB / 350.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.08e-05/0.005423, allocations: 97.86 kB / 350.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.005431, allocations: 29.69 kB / 350.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.005456, allocations: 84.09 kB / 350.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.005461, allocations: 4 kB / 350.5 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.005489, allocations: 13.72 kB / 350.5 MB, free: 6.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.005529, allocations: 314.8 kB / 350.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.005541, allocations: 0 / 350.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.005571, allocations: 26.5 kB / 350.8 MB, free: 5.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.005606, allocations: 30.7 kB / 350.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005607, allocations: 0 / 350.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.684e-05/0.005674, allocations: 53.56 kB / 350.9 MB, free: 5.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.00569, allocations: 8 kB / 350.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.005698, allocations: 0 / 350.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.005721, allocations: 0 / 350.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.005777, allocations: 7.938 kB / 350.9 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.005783, allocations: 4 kB / 350.9 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.005803, allocations: 8.047 kB / 350.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.005809, allocations: 4 kB / 350.9 MB, free: 5.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.49e-05/0.005854, allocations: 105.8 kB / 351 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.005876, allocations: 4.031 kB / 351 MB, free: 5.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.9e-05/0.005965, allocations: 52.77 kB / 351.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.005969, allocations: 4 kB / 351.1 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.005973, allocations: 0 / 351.1 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005975, allocations: 4.031 kB / 351.1 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.716e-05/0.006062, allocations: 97.31 kB / 351.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.006069, allocations: 7.938 kB / 351.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.006069, allocations: 0 / 351.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.006071, allocations: 0 / 351.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.006078, allocations: 3.938 kB / 351.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006079, allocations: 0 / 351.2 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.00608, allocations: 4 kB / 351.2 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.13e-05/0.006141, allocations: 139.5 kB / 351.3 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.006147, allocations: 0 / 351.3 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.006158, allocations: 3.938 kB / 351.4 MB, free: 5.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.006217, allocations: 4.031 kB / 351.4 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.006231, allocations: 4 kB / 351.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.006234, allocations: 0 / 351.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.488e-05/0.006249, allocations: 75.28 kB / 351.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006249, allocations: 0 / 351.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.006539, allocations: 47.92 kB / 351.5 MB, free: 4.98 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002379/0.006776, allocations: 139.2 kB / 351.6 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.217e-05/0.006839, allocations: 16.14 kB / 351.6 MB, free: 4.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00684, allocations: 4.062 kB / 351.6 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.006861, allocations: 29.7 kB / 351.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.00707, allocations: 3.938 kB / 351.7 MB, free: 4.777 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001813/0.007251, allocations: 95.86 kB / 351.8 MB, free: 4.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.764e-05/0.007279, allocations: 63.28 kB / 351.8 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.934e-05/0.007298, allocations: 0 / 351.8 MB, free: 4.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.007318, allocations: 12.5 kB / 351.8 MB, free: 4.566 MB / 282.7 MB Notification: Performance of SimCode: time 4.6e-07/0.007318, allocations: 0 / 351.8 MB, free: 4.566 MB / 282.7 MB Notification: Performance of Templates: time 0.003321/0.01064, allocations: 1.107 MB / 352.9 MB, free: 3.465 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.727212427998893]