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.0009856/0.0009856, 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.0009661/0.0009661, allocations: 169 kB / 24.14 MB, free: 360 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.849/0.849, allocations: 158.6 MB / 186 MB, free: 2.75 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.123/0.123, allocations: 32.38 MB / 270.7 MB, free: 14.59 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 1.613e-06/1.613e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.292e-05, allocations: 2.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001043/0.001056, allocations: 0.6309 MB / 299.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002293/0.001285, allocations: 115.5 kB / 299.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.001303, allocations: 0 / 299.9 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.001314, allocations: 7.938 kB / 299.9 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.001471, allocations: 31.83 kB / 299.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.164e-06/0.001473, allocations: 0 / 299.9 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.2e-05/0.001505, allocations: 27.8 kB / 300 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.18e-05/0.001527, allocations: 7.984 kB / 300 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.001545, allocations: 11.94 kB / 300 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.001584, allocations: 7.984 kB / 300 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.001593, allocations: 0 / 300 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.001685, allocations: 59.86 kB / 300 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.001693, allocations: 3.938 kB / 300 MB, free: 1.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.015e-05/0.001703, allocations: 7.938 kB / 300 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.33e-05/0.001787, allocations: 51.86 kB / 300.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.001788, allocations: 0 / 300.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001789, allocations: 0 / 300.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.001792, allocations: 0 / 300.1 MB, free: 1.168 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004175/0.002209, allocations: 236.9 kB / 300.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.002237, allocations: 8.031 kB / 300.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.002255, allocations: 8.938 kB / 300.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.192e-05/0.002317, allocations: 109.8 kB / 300.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.002325, allocations: 384 / 300.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.002333, allocations: 8.312 kB / 300.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.677e-05/0.002399, allocations: 54.23 kB / 300.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.002406, allocations: 192 / 300.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.002413, allocations: 4.375 kB / 300.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.002417, allocations: 4.359 kB / 300.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.776e-05/0.002465, allocations: 39.83 kB / 300.6 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.459e-05/0.00254, allocations: 76.92 kB / 300.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.002615, allocations: 54.55 kB / 300.7 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.002636, allocations: 24.84 kB / 300.7 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.002747, allocations: 23.98 kB / 300.7 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.002764, allocations: 30.56 kB / 300.8 MB, free: 416 kB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.21e-07/0.002765, allocations: 4 kB / 300.8 MB, free: 412 kB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 8.879e-05/0.002854, allocations: 77.83 kB / 300.9 MB, free: 328 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.002877, allocations: 51.41 kB / 300.9 MB, free: 264 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.931e-05/0.002916, allocations: 98.72 kB / 301 MB, free: 152 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.002925, allocations: 25.7 kB / 301 MB, free: 120 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.002945, allocations: 80.14 kB / 301.1 MB, free: 36 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1224/0.1253, allocations: 40.72 kB / 301.1 MB, free: 19.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.1254, allocations: 19.36 kB / 301.2 MB, free: 19.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.1254, allocations: 320.5 kB / 301.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.1255, allocations: 11.31 kB / 301.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.1255, allocations: 11.44 kB / 301.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.1255, allocations: 34.75 kB / 301.5 MB, free: 19.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1255, allocations: 1.25 kB / 301.5 MB, free: 19.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.23e-05/0.1256, allocations: 59.45 kB / 301.6 MB, free: 19.51 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1256, allocations: 5.562 kB / 301.6 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1256, allocations: 3.469 kB / 301.6 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1256, allocations: 2.406 kB / 301.6 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.1257, allocations: 18.83 kB / 301.6 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.1257, allocations: 4.109 kB / 301.6 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.1257, allocations: 5.938 kB / 301.6 MB, free: 19.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1257, allocations: 2.5 kB / 301.6 MB, free: 19.51 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 4.034e-05/0.1258, allocations: 112.4 kB / 301.7 MB, free: 19.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.1258, allocations: 4.719 kB / 301.7 MB, free: 19.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1259, allocations: 75.22 kB / 301.8 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1259, allocations: 3.391 kB / 301.8 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1259, allocations: 4.75 kB / 301.8 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1259, allocations: 1.453 kB / 301.8 MB, free: 19.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.156e-05/0.126, allocations: 82.64 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.126, allocations: 0.75 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.126, allocations: 21.98 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.126, allocations: 2.938 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.126, allocations: 3.438 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.126, allocations: 1.594 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.126, allocations: 1.984 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.225e-05/0.1261, allocations: 95.98 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.1261, allocations: 3.125 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-06/0.1261, allocations: 1.938 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.1261, allocations: 5.156 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.1261, allocations: 5.562 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1261, allocations: 9.078 kB / 302.1 MB, free: 19.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.896e-06/0.1262, allocations: 10.02 kB / 302.1 MB, free: 19.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1262, allocations: 0 / 302.1 MB, free: 19.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001202/0.1263, allocations: 12.91 kB / 302.1 MB, free: 19.21 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.704e-05/0.1264, allocations: 88.27 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.592e-05/0.1264, allocations: 41.69 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1264, allocations: 0 / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.1265, allocations: 34.98 kB / 302.2 MB, free: 19.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.464e-05/0.1265, allocations: 3.594 kB / 302.2 MB, free: 19.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.1268, allocations: 131 kB / 302.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.044e-05/0.1268, allocations: 62.98 kB / 302.4 MB, free: 18.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.695e-05/0.1268, allocations: 6.953 kB / 302.4 MB, free: 18.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.1268, allocations: 53.73 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1268, allocations: 5.344 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of Templates: time 0.002096/0.1289, allocations: 0.7206 MB / 303.2 MB, free: 18.85 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6458164849318564]