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.001037/0.001037, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001131/0.001131, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.8886/0.8886, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1518/0.1518, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.372e-06/1.372e-06, allocations: 0 / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.321e-05, allocations: 2.312 kB / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001092/0.001115, allocations: 0.5904 MB / 348.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000227/0.001342, allocations: 111.5 kB / 348.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.001364, allocations: 0 / 348.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.001381, allocations: 0 / 348.4 MB, free: 8.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.001582, allocations: 43.77 kB / 348.4 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.485e-06/0.001585, allocations: 0 / 348.4 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.716e-05/0.001632, allocations: 23.91 kB / 348.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.001665, allocations: 0 / 348.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.001691, allocations: 19.92 kB / 348.5 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.001736, allocations: 11.92 kB / 348.5 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.001747, allocations: 0 / 348.5 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.001824, allocations: 47.89 kB / 348.5 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.001835, allocations: 4 kB / 348.5 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.414e-05/0.001849, allocations: 15.91 kB / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.276e-05/0.001942, allocations: 39.89 kB / 348.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.001945, allocations: 4 kB / 348.6 MB, free: 8.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.001946, allocations: 0 / 348.6 MB, free: 8.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.00195, allocations: 3.938 kB / 348.6 MB, free: 8.512 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.0002008/0.002151, allocations: 360.6 kB / 349 MB, free: 8.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.002187, allocations: 11.97 kB / 349 MB, free: 8.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.002225, allocations: 12.89 kB / 349 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.098e-05/0.002276, allocations: 116.6 kB / 349.1 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.002286, allocations: 384 / 349.1 MB, free: 7.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.002296, allocations: 4.375 kB / 349.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.002376, allocations: 54.19 kB / 349.2 MB, free: 7.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.002383, allocations: 8.188 kB / 349.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.002391, allocations: 384 / 349.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.002398, allocations: 384 / 349.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.00246, allocations: 47.88 kB / 349.2 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.78e-05/0.002558, allocations: 128.6 kB / 349.3 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.002655, allocations: 79.31 kB / 349.4 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.002686, allocations: 27.62 kB / 349.4 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.002845, allocations: 27.95 kB / 349.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.002859, allocations: 37.39 kB / 349.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.00286, allocations: 4 kB / 349.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001566/0.003017, allocations: 101.6 kB / 349.6 MB, free: 7.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.003034, allocations: 51.41 kB / 349.7 MB, free: 7.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.132e-05/0.003075, allocations: 157.9 kB / 349.8 MB, free: 7.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.003081, allocations: 25.7 kB / 349.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.027e-05/0.003091, allocations: 126.9 kB / 350 MB, free: 6.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.003119, allocations: 35.69 kB / 350 MB, free: 6.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.003143, allocations: 31.38 kB / 350 MB, free: 6.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.59e-05/0.003179, allocations: 496.1 kB / 350.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.003197, allocations: 16.12 kB / 350.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.003213, allocations: 20.3 kB / 350.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.003258, allocations: 47.62 kB / 350.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.00326, allocations: 0 / 350.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.819e-05/0.003328, allocations: 77.62 kB / 350.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.00334, allocations: 4 kB / 350.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.003344, allocations: 7.984 kB / 350.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.003355, allocations: 0 / 350.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.003423, allocations: 16 kB / 350.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.003428, allocations: 0 / 350.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.003441, allocations: 11.89 kB / 350.7 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.003447, allocations: 7.938 kB / 350.7 MB, free: 6.195 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 3.959e-05/0.003486, allocations: 160.6 kB / 350.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.003493, allocations: 11.92 kB / 350.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.003607, allocations: 85.64 kB / 351 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.003609, allocations: 0 / 351 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.003612, allocations: 0 / 351 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.003615, allocations: 7.938 kB / 351 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.287e-05/0.003668, allocations: 136.5 kB / 351.1 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.003669, allocations: 3.938 kB / 351.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.003701, allocations: 15.98 kB / 351.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.003703, allocations: 4 kB / 351.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.003709, allocations: 4 kB / 351.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.00371, allocations: 0 / 351.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.003711, allocations: 0 / 351.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.07e-05/0.003782, allocations: 124.3 kB / 351.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.003788, allocations: 7.953 kB / 351.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.003798, allocations: 0 / 351.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-06/0.003806, allocations: 0 / 351.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.003821, allocations: 7.984 kB / 351.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.003825, allocations: 4 kB / 351.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.322e-05/0.003839, allocations: 127.2 kB / 351.4 MB, free: 5.438 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003839, allocations: 0 / 351.4 MB, free: 5.438 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001288/0.003967, allocations: 15.94 kB / 351.4 MB, free: 5.422 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.403e-05/0.004061, allocations: 111.2 kB / 351.5 MB, free: 5.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.278e-05/0.004154, allocations: 51.61 kB / 351.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.004156, allocations: 0 / 351.6 MB, free: 5.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.004176, allocations: 36.27 kB / 351.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.004279, allocations: 11.98 kB / 351.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.004509, allocations: 138.4 kB / 351.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.255e-05/0.004531, allocations: 59.34 kB / 351.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.215e-05/0.004553, allocations: 4 kB / 351.8 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.004571, allocations: 12.5 kB / 351.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.004572, allocations: 0 / 351.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of Templates: time 0.002148/0.00672, allocations: 0.7089 MB / 352.5 MB, free: 4.234 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 -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.8740678993053734]