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.001372/0.001372, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009758/0.0009758, allocations: 170.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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.9454/0.9454, allocations: 177.1 MB / 205.3 MB, free: 5.074 MB / 186.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.2729/0.2729, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.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.703e-06/1.703e-06, allocations: 0 / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.567e-05, allocations: 2.312 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00117/0.001186, allocations: 0.5807 MB / 325.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003278/0.001513, allocations: 147.4 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.001539, allocations: 0 / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.001556, allocations: 3.938 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.001792, allocations: 35.77 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.296e-06/0.001795, allocations: 4 kB / 326 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.072e-05/0.001846, allocations: 23.86 kB / 326.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.001884, allocations: 7.984 kB / 326.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.001915, allocations: 11.94 kB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.001971, allocations: 11.97 kB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.001982, allocations: 0 / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.002091, allocations: 55.88 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.002103, allocations: 7.938 kB / 326.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.18e-05/0.002115, allocations: 0.625 kB / 326.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.949e-05/0.002214, allocations: 51.8 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.002217, allocations: 4 kB / 326.2 MB, free: 6.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002218, allocations: 4 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.002222, allocations: 0 / 326.2 MB, free: 6.723 MB / 298.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.0002011/0.002423, allocations: 238.3 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.002454, allocations: 8.031 kB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.996e-05/0.002474, allocations: 4.938 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.25e-05/0.002546, allocations: 121.7 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.002555, allocations: 384 / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.002563, allocations: 8.375 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.364e-05/0.002637, allocations: 50.23 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.002643, allocations: 192 / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.00265, allocations: 4.375 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.002654, allocations: 384 / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.281e-05/0.002707, allocations: 39.84 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.795e-05/0.002795, allocations: 65.05 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.002878, allocations: 62.48 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.002902, allocations: 20.84 kB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.003019, allocations: 20.48 kB / 326.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.003037, allocations: 34.56 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.307e-06/0.00304, allocations: 4 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 9.596e-05/0.003136, allocations: 73.89 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.003168, allocations: 51.41 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.42e-05/0.003222, allocations: 98.72 kB / 327.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.003237, allocations: 33.7 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.00326, allocations: 80.14 kB / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.003294, allocations: 43.55 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.003324, allocations: 25.69 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.003416, allocations: 318.8 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.003427, allocations: 8 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.003441, allocations: 12.48 kB / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.003479, allocations: 40.97 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.00348, allocations: 0 / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.471e-05/0.003535, allocations: 57.62 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.003552, allocations: 8 kB / 327.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.003558, allocations: 0 / 327.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.00357, allocations: 3.984 kB / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.00363, allocations: 12 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.003633, allocations: 4 kB / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.003646, allocations: 0 / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.003651, allocations: 4 kB / 327.7 MB, free: 5.043 MB / 298.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.549e-05/0.003706, allocations: 125.7 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.003716, allocations: 11.98 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/0.00381, allocations: 73.58 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.003812, allocations: 0 / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.003813, allocations: 0 / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.003816, allocations: 0 / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.735e-05/0.003904, allocations: 85.78 kB / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.003905, allocations: 0 / 328 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.003936, allocations: 16 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.003938, allocations: 0 / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.003943, allocations: 8 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003943, allocations: 3.938 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.003945, allocations: 3.984 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.558e-05/0.004011, allocations: 92.98 kB / 328.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.004018, allocations: 11.92 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-06/0.004026, allocations: 0 / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.004036, allocations: 4 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.004051, allocations: 11.97 kB / 328.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.004053, allocations: 0 / 328.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.171e-06/0.00406, allocations: 4.859 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00406, allocations: 8.094 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001054/0.004165, allocations: 12 kB / 328.2 MB, free: 4.523 MB / 298.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.471e-05/0.00426, allocations: 88.34 kB / 328.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.672e-05/0.004326, allocations: 44.77 kB / 328.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.00433, allocations: 4 kB / 328.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.004348, allocations: 24.8 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.294e-05/0.004411, allocations: 11.2 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.004632, allocations: 130.8 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.004663, allocations: 63.36 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.391e-05/0.004687, allocations: 7.984 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.00472, allocations: 51.38 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.00472, allocations: 0 / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of Templates: time 0.002149/0.006869, allocations: 0.7266 MB / 329.3 MB, free: 3.328 MB / 298.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 -s gbode -gbm=radauIIA3 -emit_protected -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.7826102790422738]