Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009063/0.0009063, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009566/0.0009566, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9757/0.9757, allocations: 177.1 MB / 205.3 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1434/0.1434, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 323.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.387e-05, allocations: 6.25 kB / 323.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001569/0.001593, allocations: 0.5779 MB / 323.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003664/0.00196, allocations: 159.4 kB / 324 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.001988, allocations: 0 / 324 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.002005, allocations: 3.938 kB / 324 MB, free: 2.035 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.002246, allocations: 43.7 kB / 324 MB, free: 1.992 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.985e-06/0.002249, allocations: 0 / 324 MB, free: 1.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.848e-05/0.002308, allocations: 19.92 kB / 324.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.002351, allocations: 7.984 kB / 324.1 MB, free: 1.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.002383, allocations: 7.938 kB / 324.1 MB, free: 1.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.002462, allocations: 11.98 kB / 324.1 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.002473, allocations: 0 / 324.1 MB, free: 1.945 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.002594, allocations: 59.92 kB / 324.1 MB, free: 1.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.002608, allocations: 3.938 kB / 324.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.002626, allocations: 3.938 kB / 324.1 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.002766, allocations: 51.86 kB / 324.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002768, allocations: 0 / 324.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.002769, allocations: 0 / 324.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.002773, allocations: 0 / 324.2 MB, free: 1.828 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.0002371/0.00301, allocations: 240.9 kB / 324.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.00305, allocations: 11.98 kB / 324.4 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.003074, allocations: 4.938 kB / 324.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.145e-05/0.003165, allocations: 121.7 kB / 324.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.003298, allocations: 4.375 kB / 324.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.003308, allocations: 4.375 kB / 324.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.003415, allocations: 54.17 kB / 324.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.003422, allocations: 192 / 324.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.003428, allocations: 384 / 324.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.003432, allocations: 384 / 324.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.596e-05/0.003498, allocations: 43.78 kB / 324.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.003609, allocations: 69.05 kB / 324.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.003724, allocations: 62.53 kB / 324.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.003753, allocations: 24.86 kB / 324.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.003915, allocations: 23.98 kB / 324.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.003948, allocations: 34.78 kB / 324.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/0.003951, allocations: 0 / 324.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000132/0.004083, allocations: 69.67 kB / 324.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.004122, allocations: 55.34 kB / 325 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.004198, allocations: 98.72 kB / 325.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.004211, allocations: 29.7 kB / 325.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.004242, allocations: 84.25 kB / 325.2 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.004286, allocations: 39.69 kB / 325.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.004323, allocations: 21.7 kB / 325.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.004401, allocations: 322.8 kB / 325.6 MB, free: 296 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.004417, allocations: 8 kB / 325.6 MB, free: 288 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.004432, allocations: 11.98 kB / 325.6 MB, free: 276 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.004469, allocations: 28.84 kB / 325.6 MB, free: 244 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004471, allocations: 0 / 325.6 MB, free: 244 kB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.476e-05/0.004526, allocations: 61.62 kB / 325.7 MB, free: 176 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.00454, allocations: 7.984 kB / 325.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.004544, allocations: 0 / 325.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.004552, allocations: 4 kB / 325.7 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.004621, allocations: 23.94 kB / 325.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-06/0.004622, allocations: 0 / 325.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.004639, allocations: 7.938 kB / 325.7 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.004643, allocations: 0 / 325.7 MB, free: 132 kB / 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 6.701e-05/0.00471, allocations: 117.8 kB / 325.9 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.004735, allocations: 8.047 kB / 325.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.004838, allocations: 74.19 kB / 325.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.004839, allocations: 0 / 325.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-07/0.00484, allocations: 3.938 kB / 325.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.004846, allocations: 7.984 kB / 325.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.988e-05/0.004915, allocations: 85.77 kB / 326 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.004917, allocations: 0 / 326 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.004951, allocations: 16 kB / 326 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.004952, allocations: 0 / 326 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.004958, allocations: 4 kB / 326 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.00496, allocations: 3.984 kB / 326 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.004961, allocations: 0 / 326 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.232e-05/0.005044, allocations: 93.02 kB / 326.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.005053, allocations: 7.984 kB / 326.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.005061, allocations: 4 kB / 326.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.005069, allocations: 4 kB / 326.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.005088, allocations: 7.984 kB / 326.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005091, allocations: 0 / 326.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.18e-05/0.005103, allocations: 8.859 kB / 326.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005103, allocations: 0 / 326.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.005234, allocations: 19.94 kB / 326.2 MB, free: 15.62 MB / 314.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 0.0001177/0.005351, allocations: 88.34 kB / 326.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.95e-05/0.005431, allocations: 36.84 kB / 326.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.005434, allocations: 8.094 kB / 326.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/0.005456, allocations: 24.78 kB / 326.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.078e-05/0.005537, allocations: 11.94 kB / 326.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.0058, allocations: 132.5 kB / 326.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.005835, allocations: 67.28 kB / 326.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.005871, allocations: 8 kB / 326.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.005911, allocations: 51.38 kB / 326.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.005912, allocations: 0 / 326.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of Templates: time 0.002549/0.008461, allocations: 0.7143 MB / 327.3 MB, free: 14.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.825800476130098]