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.001099/0.001099, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002594, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.00108/0.00108, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002421, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8841/0.8841, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1459/1.03, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.1259/0.1259, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01713/0.1431, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.223e-06/1.223e-06, allocations: 0 / 267.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.814e-05, allocations: 2.312 kB / 267.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001284/0.001302, allocations: 0.6259 MB / 267.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000148/0.00145, allocations: 115.5 kB / 268 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.001469, allocations: 0 / 268 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.499e-06/0.001473, allocations: 0 / 268 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.001599, allocations: 43.7 kB / 268 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.016e-06/0.001602, allocations: 0 / 268 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.001646, allocations: 19.92 kB / 268 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.001681, allocations: 4 kB / 268.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.001719, allocations: 11.92 kB / 268.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.001771, allocations: 15.92 kB / 268.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.001784, allocations: 0 / 268.1 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.001888, allocations: 55.92 kB / 268.1 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/0.001894, allocations: 4 kB / 268.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.007e-05/0.001904, allocations: 3.938 kB / 268.1 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.008e-05/0.001995, allocations: 39.91 kB / 268.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.002007, allocations: 0 / 268.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.002009, allocations: 4 kB / 268.2 MB, free: 5.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.002018, allocations: 3.938 kB / 268.2 MB, free: 5.551 MB / 266.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.0002126/0.002231, allocations: 244.5 kB / 268.4 MB, free: 5.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.002265, allocations: 11.89 kB / 268.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.00229, allocations: 4.938 kB / 268.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.687e-05/0.002356, allocations: 113.7 kB / 268.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.002364, allocations: 384 / 268.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.002373, allocations: 8.375 kB / 268.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.173e-05/0.002444, allocations: 62.11 kB / 268.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.00245, allocations: 192 / 268.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.002456, allocations: 384 / 268.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.002459, allocations: 384 / 268.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.002513, allocations: 35.91 kB / 268.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.003e-05/0.002593, allocations: 69.03 kB / 268.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.002669, allocations: 62.58 kB / 268.8 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.00269, allocations: 16.86 kB / 268.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.002811, allocations: 23.97 kB / 268.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.002831, allocations: 46.55 kB / 268.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 7.62e-07/0.002832, allocations: 4 kB / 268.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001066/0.002939, allocations: 66.09 kB / 268.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.002966, allocations: 51.41 kB / 269 MB, free: 4.637 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.003006, allocations: 102.7 kB / 269.1 MB, free: 4.523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.003014, allocations: 25.7 kB / 269.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.568e-05/0.00303, allocations: 80.14 kB / 269.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.003062, allocations: 31.7 kB / 269.2 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.003088, allocations: 29.69 kB / 269.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.003152, allocations: 314.9 kB / 269.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.003163, allocations: 12 kB / 269.6 MB, free: 4.016 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.226e-05/0.003175, allocations: 16.02 kB / 269.6 MB, free: 4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.00321, allocations: 36.77 kB / 269.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.003212, allocations: 0 / 269.6 MB, free: 3.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.475e-05/0.003267, allocations: 69.61 kB / 269.7 MB, free: 3.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.003278, allocations: 4 kB / 269.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.003281, allocations: 0 / 269.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.003289, allocations: 0 / 269.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.003351, allocations: 16 kB / 269.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.003355, allocations: 3.984 kB / 269.7 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.003367, allocations: 7.984 kB / 269.7 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.003372, allocations: 7.984 kB / 269.7 MB, free: 3.848 MB / 266.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 5.013e-05/0.003422, allocations: 117.7 kB / 269.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-06/0.003428, allocations: 4 kB / 269.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.128e-05/0.003519, allocations: 81.58 kB / 269.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.003521, allocations: 0 / 269.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.003524, allocations: 7.938 kB / 269.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.003527, allocations: 3.984 kB / 269.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.89e-05/0.003586, allocations: 85.78 kB / 270 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.003587, allocations: 0 / 270 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.00362, allocations: 19.98 kB / 270 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.003624, allocations: 4 kB / 270.1 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.003625, allocations: 0 / 270.1 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-06/0.003629, allocations: 0 / 270.1 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.00363, allocations: 7.938 kB / 270.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00363, allocations: 0 / 270.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.905e-05/0.003689, allocations: 89.05 kB / 270.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.003697, allocations: 0 / 270.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-06/0.003706, allocations: 4 kB / 270.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.003718, allocations: 7.984 kB / 270.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.00372, allocations: 3.938 kB / 270.2 MB, free: 3.371 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.542e-06/0.003727, allocations: 8.859 kB / 270.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003727, allocations: 0 / 270.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001043/0.003831, allocations: 19.94 kB / 270.2 MB, free: 3.34 MB / 266.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 8.292e-05/0.003914, allocations: 88.39 kB / 270.3 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.003978, allocations: 40.78 kB / 270.3 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.003983, allocations: 4 kB / 270.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/0.004001, allocations: 29.44 kB / 270.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.228e-05/0.004053, allocations: 7.938 kB / 270.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.004256, allocations: 152.7 kB / 270.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.525e-05/0.004281, allocations: 55.36 kB / 270.6 MB, free: 2.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.004306, allocations: 7.984 kB / 270.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.004341, allocations: 55.38 kB / 270.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.004342, allocations: 0 / 270.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of Templates: time 0.002125/0.006467, allocations: 0.7311 MB / 271.4 MB, free: 2.117 MB / 266.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 -ignoreHideResult -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.5033924197778106]