Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002566, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002292, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9353/0.9353, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09183/1.027, allocations: 53.86 MB / 243.7 MB, free: 14.93 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.271/0.271, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02689/0.2979, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.623e-05, allocations: 6.516 kB / 293.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009629/0.0009791, allocations: 0.5719 MB / 294.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.001178, allocations: 159.2 kB / 294.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.001196, allocations: 4 kB / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.617e-06/0.0012, allocations: 0 / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.001279, allocations: 35.77 kB / 294.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.956e-06/0.001282, allocations: 0 / 294.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.582e-05/0.001328, allocations: 27.86 kB / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.001364, allocations: 0 / 294.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.001403, allocations: 15.92 kB / 294.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.001447, allocations: 15.92 kB / 294.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.001459, allocations: 4 kB / 294.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.805e-05/0.001547, allocations: 51.89 kB / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-06/0.001553, allocations: 0 / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.859e-06/0.001563, allocations: 4 kB / 294.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.001656, allocations: 43.83 kB / 294.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.271e-05/0.001669, allocations: 0 / 294.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.001669, allocations: 0 / 294.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.001682, allocations: 3.938 kB / 294.8 MB, free: 4.289 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.0002366/0.001919, allocations: 245.8 kB / 295 MB, free: 4.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.001947, allocations: 12.03 kB / 295 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.001973, allocations: 8.938 kB / 295 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.002049, allocations: 101.8 kB / 295.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.002061, allocations: 4.375 kB / 295.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.002069, allocations: 4.375 kB / 295.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.104e-05/0.00215, allocations: 54.17 kB / 295.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.002156, allocations: 192 / 295.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.002164, allocations: 4.375 kB / 295.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.002168, allocations: 384 / 295.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.002219, allocations: 36.83 kB / 295.2 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.042e-05/0.00231, allocations: 76.88 kB / 295.3 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.742e-05/0.002397, allocations: 70.56 kB / 295.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.002419, allocations: 16.86 kB / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.002577, allocations: 27.97 kB / 295.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.002601, allocations: 34.56 kB / 295.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.002602, allocations: 0 / 295.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001215/0.002724, allocations: 74.02 kB / 295.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.002763, allocations: 55.41 kB / 295.6 MB, free: 3.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.002817, allocations: 94.72 kB / 295.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.002828, allocations: 29.83 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.002852, allocations: 84.12 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.002889, allocations: 35.69 kB / 295.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.002919, allocations: 25.7 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.003014, allocations: 318.8 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.003027, allocations: 8 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.00304, allocations: 8 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.003082, allocations: 40.77 kB / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.003085, allocations: 0 / 296.2 MB, free: 2.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.689e-05/0.003142, allocations: 65.61 kB / 296.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.003153, allocations: 4 kB / 296.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.003158, allocations: 8 kB / 296.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.003168, allocations: 4 kB / 296.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.003246, allocations: 15.98 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.003251, allocations: 4 kB / 296.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.003264, allocations: 0 / 296.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.003269, allocations: 0 / 296.3 MB, free: 2.598 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 5.172e-05/0.00332, allocations: 117.8 kB / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/0.003326, allocations: 4 kB / 296.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.003423, allocations: 77.56 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.003424, allocations: 0 / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.003426, allocations: 4 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.003429, allocations: 0 / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.585e-05/0.003495, allocations: 85.73 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.003496, allocations: 0 / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.003532, allocations: 19.98 kB / 296.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.003539, allocations: 11.92 kB / 296.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.00354, allocations: 0 / 296.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.003544, allocations: 0 / 296.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003544, allocations: 3.938 kB / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.003545, allocations: 0 / 296.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.181e-05/0.003607, allocations: 89.05 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-06/0.003614, allocations: 4 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.159e-05/0.003625, allocations: 8 kB / 296.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.003638, allocations: 3.984 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.00364, allocations: 3.938 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.713e-06/0.003646, allocations: 8.859 kB / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003646, allocations: 0 / 296.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000101/0.003747, allocations: 19.98 kB / 296.8 MB, free: 2.09 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 8.926e-05/0.003837, allocations: 88.36 kB / 296.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.543e-05/0.003912, allocations: 46.64 kB / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.003917, allocations: 4 kB / 296.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.109e-05/0.003938, allocations: 32.78 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.215e-05/0.004, allocations: 7.938 kB / 296.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.00423, allocations: 143.5 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.004257, allocations: 59.34 kB / 297.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.297e-05/0.00428, allocations: 8 kB / 297.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.004314, allocations: 55.38 kB / 297.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.004315, allocations: 4 kB / 297.2 MB, free: 1.594 MB / 282.7 MB Notification: Performance of Templates: time 0.001882/0.006197, allocations: 0.7213 MB / 297.9 MB, free: 0.875 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.696999207139015]