Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.000749/0.000749, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001772, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007142/0.0007142, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009374/0.001652, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.914/0.914, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08315/0.9971, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.228/0.228, allocations: 34.25 MB / 278.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0207/0.2487, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.552e-05, allocations: 5.719 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009115/0.000927, allocations: 0.5766 MB / 293.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.00111, allocations: 159.4 kB / 293.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.001127, allocations: 0 / 293.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.58e-06/0.001133, allocations: 3.938 kB / 293.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.676e-05/0.00122, allocations: 35.78 kB / 293.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.745e-06/0.001222, allocations: 7.938 kB / 293.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.001265, allocations: 19.92 kB / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.001299, allocations: 4.5 kB / 293.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.001336, allocations: 15.91 kB / 293.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.001386, allocations: 15.92 kB / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.001397, allocations: 0 / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.001495, allocations: 51.89 kB / 293.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-06/0.001501, allocations: 0 / 293.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-06/0.00151, allocations: 4 kB / 293.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.794e-05/0.001598, allocations: 43.83 kB / 293.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.001609, allocations: 0 / 293.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00161, allocations: 4 kB / 293.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.00162, allocations: 0 / 293.5 MB, free: 5.375 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.0002104/0.00183, allocations: 245.2 kB / 293.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.696e-05/0.001857, allocations: 8.625 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.001881, allocations: 4.938 kB / 293.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.607e-05/0.001947, allocations: 114.2 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.001955, allocations: 384 / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.001963, allocations: 8.375 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.151e-05/0.002035, allocations: 50.23 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.00204, allocations: 192 / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.002045, allocations: 4.375 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.002049, allocations: 384 / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.133e-05/0.0021, allocations: 43.77 kB / 294 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.988e-05/0.00218, allocations: 80.94 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.609e-05/0.002256, allocations: 58.55 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.002276, allocations: 16.86 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.002409, allocations: 27.95 kB / 294.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.002429, allocations: 38.78 kB / 294.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.61e-07/0.00243, allocations: 4 kB / 294.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000105/0.002535, allocations: 69.67 kB / 294.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.002562, allocations: 55.34 kB / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.595e-05/0.002608, allocations: 94.72 kB / 294.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.002616, allocations: 29.7 kB / 294.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.615e-05/0.002632, allocations: 80.14 kB / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.002663, allocations: 39.67 kB / 294.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.002702, allocations: 17.72 kB / 294.6 MB, free: 4.168 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.002765, allocations: 326.8 kB / 294.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-06/0.002775, allocations: 8 kB / 294.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/0.002786, allocations: 12.12 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.002819, allocations: 33.39 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.002821, allocations: 0 / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 4.941e-05/0.00287, allocations: 65.56 kB / 295.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.002911, allocations: 8 kB / 295.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.002915, allocations: 0 / 295.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.002921, allocations: 0 / 295.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.002987, allocations: 23.92 kB / 295.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.002989, allocations: 0 / 295.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/0.003002, allocations: 4 kB / 295.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.003006, allocations: 4 kB / 295.1 MB, free: 3.676 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.475e-05/0.003051, allocations: 117.8 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-06/0.003057, allocations: 4 kB / 295.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.003154, allocations: 77.56 kB / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.003156, allocations: 0 / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.003158, allocations: 0 / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.00316, allocations: 0 / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.213e-05/0.003242, allocations: 89.72 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.003244, allocations: 4 kB / 295.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.003304, allocations: 19.92 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.00331, allocations: 4 kB / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.003312, allocations: 4 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.003317, allocations: 0 / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.003318, allocations: 0 / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.003319, allocations: 4 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.539e-05/0.003404, allocations: 92.97 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.003412, allocations: 4 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.003425, allocations: 7.984 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.003436, allocations: 0 / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.003439, allocations: 4 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.586e-06/0.003447, allocations: 8.844 kB / 295.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003447, allocations: 4.094 kB / 295.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001/0.003547, allocations: 16 kB / 295.5 MB, free: 3.168 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.119e-05/0.003628, allocations: 92.3 kB / 295.6 MB, free: 3.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.107e-05/0.00369, allocations: 36.84 kB / 295.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.003694, allocations: 0 / 295.7 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.003714, allocations: 36.77 kB / 295.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.262e-05/0.003767, allocations: 7.938 kB / 295.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.003964, allocations: 141.1 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.004051, allocations: 67.28 kB / 295.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.192e-05/0.004073, allocations: 4 kB / 295.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.004104, allocations: 55.38 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.004104, allocations: 0 / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of Templates: time 0.001771/0.005875, allocations: 0.7329 MB / 296.7 MB, free: 1.949 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.4973966646939516]