Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001428/0.001428, allocations: 109.7 kB / 18.33 MB, free: 4.078 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.001298/0.001298, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.421/1.421, allocations: 207.6 MB / 232.1 MB, free: 3.191 MB / 174.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.3585/0.3585, allocations: 44.23 MB / 328.4 MB, free: 6.25 MB / 254.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [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.002329/0.002329, allocations: 73.69 kB / 465.6 MB, free: 44.9 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1074, allocations: 61.01 MB / 0.5143 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001576/0.109, allocations: 0.554 MB / 0.5148 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.1092, allocations: 66.81 kB / 0.5149 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.1093, allocations: 0 / 0.5149 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.1093, allocations: 1.375 kB / 0.5149 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1095, allocations: 16.05 kB / 0.5149 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.651e-05/0.1095, allocations: 1.375 kB / 0.5149 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.739e-05/0.1096, allocations: 6.734 kB / 0.5149 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.971e-05/0.1096, allocations: 5.375 kB / 0.5149 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.064e-05/0.1097, allocations: 5.375 kB / 0.5149 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.1097, allocations: 13.23 kB / 0.5149 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1097, allocations: 0 / 0.5149 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.1098, allocations: 22.98 kB / 0.5149 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.1098, allocations: 1.375 kB / 0.5149 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.1099, allocations: 0 / 0.5149 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.684e-05/0.11, allocations: 26.77 kB / 0.515 GB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.11, allocations: 1.375 kB / 0.515 GB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.11, allocations: 0 / 0.515 GB, free: 11.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.11, allocations: 0 / 0.515 GB, free: 11.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002874/0.1103, allocations: 325 kB / 0.5153 GB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1103, allocations: 17.44 kB / 0.5153 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.1103, allocations: 4.922 kB / 0.5153 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.944e-05/0.1104, allocations: 161.8 kB / 0.5154 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1104, allocations: 1.75 kB / 0.5154 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1105, allocations: 1.75 kB / 0.5154 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.378e-05/0.1105, allocations: 34.38 kB / 0.5155 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1106, allocations: 192 / 0.5155 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1106, allocations: 7.938 kB / 0.5155 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1106, allocations: 9.312 kB / 0.5155 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.57e-05/0.1106, allocations: 4.125 kB / 0.5155 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1107, allocations: 152.5 kB / 0.5156 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1109, allocations: 32.39 kB / 0.5157 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.111, allocations: 17.06 kB / 0.5157 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/0.1113, allocations: 113.7 kB / 0.5158 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.1113, allocations: 30.56 kB / 0.5158 GB, free: 10.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.1113, allocations: 5.312 kB / 0.5158 GB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001245/0.1126, allocations: 191.8 kB / 0.516 GB, free: 10.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1126, allocations: 52.78 kB / 0.5161 GB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.989e-05/0.1127, allocations: 95.17 kB / 0.5162 GB, free: 10.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.1127, allocations: 25.7 kB / 0.5162 GB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.176e-05/0.1127, allocations: 81.52 kB / 0.5163 GB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.1127, allocations: 13.28 kB / 0.5163 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1127, allocations: 29.77 kB / 0.5163 GB, free: 10.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.1128, allocations: 316.3 kB / 0.5166 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.1129, allocations: 18.98 kB / 0.5166 GB, free: 9.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.1129, allocations: 22.97 kB / 0.5166 GB, free: 9.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1131, allocations: 40.22 kB / 0.5167 GB, free: 9.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1131, allocations: 3.984 kB / 0.5167 GB, free: 9.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00018/0.1133, allocations: 76.06 kB / 0.5168 GB, free: 9.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1133, allocations: 12.06 kB / 0.5168 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1133, allocations: 9.375 kB / 0.5168 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1133, allocations: 0 / 0.5168 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1134, allocations: 15.27 kB / 0.5168 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1134, allocations: 0 / 0.5168 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.1135, allocations: 8.109 kB / 0.5168 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1135, allocations: 1.375 kB / 0.5168 GB, free: 9.754 MB / 382.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 (5): * Single equations (assignments): 5 * 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.564e-05/0.1136, allocations: 111.2 kB / 0.5169 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.1136, allocations: 9.312 kB / 0.5169 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.1138, allocations: 90.06 kB / 0.517 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1138, allocations: 1.375 kB / 0.517 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1138, allocations: 3.938 kB / 0.517 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1139, allocations: 1.375 kB / 0.517 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006222/0.1145, allocations: 356.8 kB / 0.5173 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1145, allocations: 1.375 kB / 0.5173 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.1146, allocations: 21.55 kB / 0.5174 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1146, allocations: 1.375 kB / 0.5174 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1146, allocations: 1.375 kB / 0.5174 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1146, allocations: 0 / 0.5174 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1146, allocations: 1.375 kB / 0.5174 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.1148, allocations: 178 kB / 0.5175 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.1148, allocations: 86.62 kB / 0.5176 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1148, allocations: 1.469 kB / 0.5176 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1149, allocations: 6.797 kB / 0.5176 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.115, allocations: 10.41 kB / 0.5176 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.115, allocations: 5.406 kB / 0.5176 GB, free: 8.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.594e-05/0.115, allocations: 80.64 kB / 0.5177 GB, free: 8.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.115, allocations: 0 / 0.5177 GB, free: 8.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1152, allocations: 20.66 kB / 0.5177 GB, free: 8.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001117/0.1153, allocations: 98.41 kB / 0.5178 GB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1156, allocations: 51.89 kB / 0.5179 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1156, allocations: 4.094 kB / 0.5179 GB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.1156, allocations: 26.83 kB / 0.5179 GB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.1159, allocations: 5.219 kB / 0.5179 GB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.1163, allocations: 135.3 kB / 0.5181 GB, free: 8.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.1164, allocations: 0.6775 MB / 0.5187 GB, free: 7.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.1164, allocations: 6.75 kB / 0.5187 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.1164, allocations: 10.03 kB / 0.5187 GB, free: 7.836 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1164, allocations: 0 / 0.5187 GB, free: 7.836 MB / 382.1 MB Notification: Performance of Templates: time 0.003116/0.1196, allocations: 0.6789 MB / 0.5194 GB, free: 7.32 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.760249220766127]