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.001084/0.001084, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001173/0.001173, allocations: 169 kB / 24.14 MB, free: 364 kB / 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 0.9466/0.9466, allocations: 158.6 MB / 186 MB, free: 2.746 MB / 170.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.1271/0.1271, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.442e-06/1.442e-06, allocations: 0 / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.471e-05, allocations: 2.312 kB / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001089/0.001103, allocations: 0.5524 MB / 299.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.002598, allocations: 1.397 MB / 301 MB, free: 212 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.00262, allocations: 0 / 301 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.002631, allocations: 0 / 301 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.395e-05/0.002655, allocations: 0 / 301 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.003049, allocations: 171.5 kB / 301.2 MB, free: 40 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.003091, allocations: 4 kB / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.003122, allocations: 0 / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.003151, allocations: 11.92 kB / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.003195, allocations: 4 kB / 301.2 MB, free: 20 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.003205, allocations: 0 / 301.2 MB, free: 20 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1228/0.126, allocations: 302.1 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.126, allocations: 1.938 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.126, allocations: 3.297 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1262, allocations: 192.2 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1262, allocations: 0.6094 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1262, allocations: 0 / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1262, allocations: 0 / 301.7 MB, free: 19.3 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.0001978/0.1264, allocations: 235.6 kB / 301.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1265, allocations: 9.438 kB / 302 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.1265, allocations: 3.875 kB / 302 MB, free: 19.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.484e-05/0.1265, allocations: 111.6 kB / 302.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1265, allocations: 2.812 kB / 302.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.1265, allocations: 3.594 kB / 302.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.529e-05/0.1266, allocations: 65.06 kB / 302.1 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.1266, allocations: 0.8906 kB / 302.1 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.1266, allocations: 0.5625 kB / 302.1 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1266, allocations: 3.938 kB / 302.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.1266, allocations: 6.953 kB / 302.1 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.1268, allocations: 146.2 kB / 302.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.232e-05/0.1268, allocations: 20.8 kB / 302.3 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-06/0.1268, allocations: 5.391 kB / 302.3 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.1268, allocations: 2.172 kB / 302.3 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.1269, allocations: 35.06 kB / 302.3 MB, free: 18.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1269, allocations: 0.5625 kB / 302.4 MB, free: 18.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 7.435e-05/0.1269, allocations: 39.7 kB / 302.4 MB, free: 18.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.329e-05/0.1269, allocations: 52.52 kB / 302.4 MB, free: 18.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.207e-05/0.127, allocations: 100.7 kB / 302.5 MB, free: 18.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-06/0.127, allocations: 25.7 kB / 302.6 MB, free: 18.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.127, allocations: 97.92 kB / 302.7 MB, free: 18.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.127, allocations: 5.938 kB / 302.7 MB, free: 18.36 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.127, allocations: 13.97 kB / 302.7 MB, free: 18.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.419e-05/0.1271, allocations: 312.9 kB / 303 MB, free: 18.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.1271, allocations: 1.75 kB / 303 MB, free: 18.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.1271, allocations: 29.22 kB / 303 MB, free: 18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.1271, allocations: 27.33 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1271, allocations: 2.375 kB / 303 MB, free: 17.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.356e-05/0.1271, allocations: 42.44 kB / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1271, allocations: 6.188 kB / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1271, allocations: 2.5 kB / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1272, allocations: 3.938 kB / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.325e-05/0.1272, allocations: 8.859 kB / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.1272, allocations: 4.5 kB / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.1272, allocations: 2 kB / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1272, allocations: 1.984 kB / 303.1 MB, free: 17.95 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 2.942e-05/0.1272, allocations: 110.9 kB / 303.2 MB, free: 17.83 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.1272, allocations: 1.875 kB / 303.2 MB, free: 17.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.1273, allocations: 44.17 kB / 303.3 MB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1273, allocations: 4.641 kB / 303.3 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1273, allocations: 1.688 kB / 303.3 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1273, allocations: 0.7969 kB / 303.3 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.395e-05/0.1274, allocations: 65.75 kB / 303.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1274, allocations: 0 / 303.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.1274, allocations: 0.8438 kB / 303.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.1274, allocations: 0.625 kB / 303.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-06/0.1274, allocations: 1.875 kB / 303.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.1274, allocations: 0 / 303.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1274, allocations: 2.266 kB / 303.3 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.334e-05/0.1274, allocations: 136.7 kB / 303.5 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-06/0.1274, allocations: 5.484 kB / 303.5 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-06/0.1274, allocations: 2.453 kB / 303.5 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.1275, allocations: 3.781 kB / 303.5 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.1275, allocations: 9 kB / 303.5 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1275, allocations: 4.031 kB / 303.5 MB, free: 17.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.646e-06/0.1275, allocations: 7.766 kB / 303.5 MB, free: 17.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1275, allocations: 0 / 303.5 MB, free: 17.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.1277, allocations: 39.39 kB / 303.5 MB, free: 17.57 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.0001796/0.1278, allocations: 132.2 kB / 303.7 MB, free: 17.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.7e-05/0.1279, allocations: 16.62 kB / 303.7 MB, free: 17.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1279, allocations: 1.156 kB / 303.7 MB, free: 17.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.1279, allocations: 37.53 kB / 303.7 MB, free: 17.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.324e-05/0.128, allocations: 4.344 kB / 303.7 MB, free: 17.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001284/0.1281, allocations: 96.23 kB / 303.8 MB, free: 17.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.826e-05/0.1281, allocations: 53.58 kB / 303.9 MB, free: 17.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.712e-05/0.1282, allocations: 2.094 kB / 303.9 MB, free: 17.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.1282, allocations: 54.45 kB / 303.9 MB, free: 17.23 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1282, allocations: 0 / 303.9 MB, free: 17.23 MB / 282.7 MB Notification: Performance of Templates: time 0.002718/0.1309, allocations: 1.262 MB / 305.2 MB, free: 17.16 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8433488751761615]