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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 106.4 kB / 18.32 MB, free: 3.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 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 1.453/1.453, allocations: 207.6 MB / 232.1 MB, free: 11.12 MB / 190.1 MB " [Timeout remaining time 178] 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.2186/0.2186, allocations: 44.24 MB / 328.4 MB, free: 10.08 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 79.88 kB / 465.6 MB, free: 4.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1095, allocations: 60.99 MB / 0.5143 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00165/0.1111, allocations: 0.5945 MB / 0.5148 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000354/0.1115, allocations: 123.5 kB / 0.515 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.1115, allocations: 0 / 0.515 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.1115, allocations: 0 / 0.515 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.1118, allocations: 31.84 kB / 0.515 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.1118, allocations: 7.938 kB / 0.515 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.1118, allocations: 19.98 kB / 0.515 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.1119, allocations: 0 / 0.515 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.1119, allocations: 23.84 kB / 0.515 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.112, allocations: 11.92 kB / 0.5151 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.112, allocations: 0 / 0.5151 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1121, allocations: 47.95 kB / 0.5151 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1121, allocations: 15.88 kB / 0.5151 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.1121, allocations: 7.922 kB / 0.5151 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1123, allocations: 47.81 kB / 0.5152 GB, free: 6.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1123, allocations: 0 / 0.5152 GB, free: 6.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1123, allocations: 7.938 kB / 0.5152 GB, free: 6.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1123, allocations: 0 / 0.5152 GB, free: 6.805 MB / 398.1 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.0003778/0.1126, allocations: 343.3 kB / 0.5155 GB, free: 6.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1127, allocations: 11.98 kB / 0.5155 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1127, allocations: 4.938 kB / 0.5155 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1129, allocations: 164.3 kB / 0.5157 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1129, allocations: 4.375 kB / 0.5157 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1129, allocations: 4.375 kB / 0.5157 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.113, allocations: 62.17 kB / 0.5157 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.113, allocations: 4.188 kB / 0.5157 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1131, allocations: 7.938 kB / 0.5158 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1131, allocations: 0 / 0.5158 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1132, allocations: 55.95 kB / 0.5158 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.1134, allocations: 161.7 kB / 0.516 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1135, allocations: 74.81 kB / 0.516 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.1136, allocations: 36.78 kB / 0.5161 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003705/0.1139, allocations: 259.3 kB / 0.5163 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.114, allocations: 34.56 kB / 0.5164 GB, free: 5.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.114, allocations: 3.938 kB / 0.5164 GB, free: 5.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002353/0.1142, allocations: 101.6 kB / 0.5165 GB, free: 5.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1143, allocations: 59.77 kB / 0.5165 GB, free: 5.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.1143, allocations: 89.86 kB / 0.5166 GB, free: 5.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1144, allocations: 33.83 kB / 0.5166 GB, free: 5.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.1144, allocations: 84.09 kB / 0.5167 GB, free: 4.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.1144, allocations: 35.67 kB / 0.5167 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1145, allocations: 21.72 kB / 0.5168 GB, free: 4.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1146, allocations: 314.8 kB / 0.5171 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.1147, allocations: 19.98 kB / 0.5171 GB, free: 4.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.1147, allocations: 19.98 kB / 0.5171 GB, free: 4.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.184e-05/0.1148, allocations: 48.8 kB / 0.5171 GB, free: 4.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1148, allocations: 4 kB / 0.5172 GB, free: 4.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001298/0.1149, allocations: 85.58 kB / 0.5172 GB, free: 4.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1149, allocations: 8 kB / 0.5172 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1149, allocations: 3.938 kB / 0.5172 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.115, allocations: 0 / 0.5172 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1151, allocations: 15.98 kB / 0.5173 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.1151, allocations: 0 / 0.5173 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.1151, allocations: 11.94 kB / 0.5173 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1151, allocations: 0 / 0.5173 GB, free: 4.379 MB / 398.1 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 8.981e-05/0.1152, allocations: 117.8 kB / 0.5174 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.1152, allocations: 3.953 kB / 0.5174 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.1154, allocations: 105.8 kB / 0.5175 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1154, allocations: 96 / 0.5175 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1154, allocations: 3.938 kB / 0.5175 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1154, allocations: 0 / 0.5175 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.1156, allocations: 169.7 kB / 0.5177 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1156, allocations: 3.938 kB / 0.5177 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.1156, allocations: 15.98 kB / 0.5177 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1157, allocations: 4 kB / 0.5177 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1157, allocations: 11.94 kB / 0.5177 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1157, allocations: 0 / 0.5177 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1157, allocations: 0 / 0.5177 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1158, allocations: 117 kB / 0.5178 GB, free: 3.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1159, allocations: 81.05 kB / 0.5179 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1159, allocations: 11.88 kB / 0.5179 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.1159, allocations: 0 / 0.5179 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.1159, allocations: 7.984 kB / 0.5179 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1159, allocations: 8 kB / 0.5179 GB, free: 3.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.116, allocations: 79.28 kB / 0.518 GB, free: 3.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.116, allocations: 0 / 0.518 GB, free: 3.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.1162, allocations: 8 kB / 0.518 GB, free: 3.535 MB / 398.1 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.0001329/0.1163, allocations: 119.1 kB / 0.5181 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1165, allocations: 51.92 kB / 0.5181 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1165, allocations: 0 / 0.5181 GB, free: 3.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.862e-05/0.1165, allocations: 36.02 kB / 0.5182 GB, free: 3.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1167, allocations: 5.562 kB / 0.5182 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.117, allocations: 141.2 kB / 0.5183 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1173, allocations: 0.6807 MB / 0.519 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.1173, allocations: 4 kB / 0.519 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.1173, allocations: 15.38 kB / 0.519 GB, free: 2.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1173, allocations: 4 kB / 0.519 GB, free: 2.426 MB / 398.1 MB Notification: Performance of Templates: time 0.003076/0.1204, allocations: 0.673 MB / 0.5197 GB, free: 1.754 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.733356880955398]