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.001798/0.001798, allocations: 107.2 kB / 19.69 MB, free: 2.199 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.002165/0.002165, allocations: 188.9 kB / 22.98 MB, free: 5.062 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.445/1.445, allocations: 207.6 MB / 233.7 MB, free: 10 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.2162/0.2162, allocations: 44.23 MB / 330.2 MB, free: 9.559 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.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.002268/0.002268, allocations: 67.91 kB / 468 MB, free: 4 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.124, allocations: 61.04 MB / 0.5166 GB, free: 6.828 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001661/0.1257, allocations: 0.5517 MB / 0.5172 GB, free: 6.273 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002789/0.126, allocations: 71.69 kB / 0.5173 GB, free: 6.203 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.126, allocations: 0 / 0.5173 GB, free: 6.203 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.126, allocations: 4 kB / 0.5173 GB, free: 6.199 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000234/0.1263, allocations: 11.92 kB / 0.5173 GB, free: 6.188 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 1.729e-05/0.1263, allocations: 0 / 0.5173 GB, free: 6.188 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.1263, allocations: 11.94 kB / 0.5173 GB, free: 6.176 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.1264, allocations: 3.984 kB / 0.5173 GB, free: 6.172 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.1264, allocations: 4 kB / 0.5173 GB, free: 6.168 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.1265, allocations: 7.922 kB / 0.5173 GB, free: 6.16 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1265, allocations: 0 / 0.5173 GB, free: 6.16 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.1266, allocations: 27.92 kB / 0.5173 GB, free: 6.133 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.1266, allocations: 0 / 0.5173 GB, free: 6.133 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.1266, allocations: 11.94 kB / 0.5173 GB, free: 6.121 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.1267, allocations: 19.95 kB / 0.5173 GB, free: 6.102 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1267, allocations: 0 / 0.5173 GB, free: 6.102 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.172e-06/0.1267, allocations: 0 / 0.5173 GB, free: 6.102 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.741e-06/0.1267, allocations: 0 / 0.5173 GB, free: 6.102 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0003401/0.127, allocations: 246.4 kB / 0.5176 GB, free: 5.828 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1271, allocations: 8.031 kB / 0.5176 GB, free: 5.82 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.1271, allocations: 4.875 kB / 0.5176 GB, free: 5.816 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1272, allocations: 110.5 kB / 0.5177 GB, free: 5.684 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1272, allocations: 4.375 kB / 0.5177 GB, free: 5.68 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1273, allocations: 4.375 kB / 0.5177 GB, free: 5.676 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/0.1274, allocations: 30.27 kB / 0.5177 GB, free: 5.641 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1274, allocations: 192 / 0.5177 GB, free: 5.641 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1274, allocations: 7.938 kB / 0.5177 GB, free: 5.633 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1274, allocations: 0 / 0.5177 GB, free: 5.633 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.1274, allocations: 11.92 kB / 0.5178 GB, free: 5.621 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1276, allocations: 120.8 kB / 0.5179 GB, free: 5.461 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.1278, allocations: 38.61 kB / 0.5179 GB, free: 5.414 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.1278, allocations: 12.95 kB / 0.5179 GB, free: 5.398 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/0.1282, allocations: 35.94 kB / 0.518 GB, free: 5.363 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1282, allocations: 34.56 kB / 0.518 GB, free: 5.32 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1282, allocations: 0 / 0.518 GB, free: 5.32 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5): time 0.001341/0.1296, allocations: 189.5 kB / 0.5182 GB, free: 5.129 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.1296, allocations: 55.41 kB / 0.5182 GB, free: 5.062 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.1297, allocations: 97.78 kB / 0.5183 GB, free: 4.957 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1297, allocations: 29.83 kB / 0.5183 GB, free: 4.922 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.1298, allocations: 80.14 kB / 0.5184 GB, free: 4.84 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.1298, allocations: 15.91 kB / 0.5184 GB, free: 4.824 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.1298, allocations: 13.72 kB / 0.5184 GB, free: 4.805 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001477/0.13, allocations: 318.8 kB / 0.5188 GB, free: 4.484 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.1301, allocations: 19.98 kB / 0.5188 GB, free: 4.465 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.1302, allocations: 15.98 kB / 0.5188 GB, free: 4.449 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1303, allocations: 53.02 kB / 0.5188 GB, free: 4.395 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1303, allocations: 0 / 0.5188 GB, free: 4.395 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.000219/0.1305, allocations: 81.61 kB / 0.5189 GB, free: 4.309 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1306, allocations: 7.938 kB / 0.5189 GB, free: 4.301 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1306, allocations: 48 / 0.5189 GB, free: 4.301 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1306, allocations: 7.922 kB / 0.5189 GB, free: 4.293 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1307, allocations: 15.98 kB / 0.5189 GB, free: 4.277 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1307, allocations: 0 / 0.5189 GB, free: 4.277 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.191e-05/0.1308, allocations: 15.92 kB / 0.519 GB, free: 4.262 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.1308, allocations: 4 kB / 0.519 GB, free: 4.258 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 (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 8.814e-05/0.1309, allocations: 109.8 kB / 0.5191 GB, free: 4.141 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.1309, allocations: 7.875 kB / 0.5191 GB, free: 4.133 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.1312, allocations: 93.23 kB / 0.5192 GB, free: 4.035 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1312, allocations: 0 / 0.5192 GB, free: 4.035 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1312, allocations: 0 / 0.5192 GB, free: 4.035 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1312, allocations: 3.938 kB / 0.5192 GB, free: 4.031 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.1319, allocations: 318.4 kB / 0.5195 GB, free: 3.668 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1319, allocations: 0 / 0.5195 GB, free: 3.668 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.132, allocations: 19.95 kB / 0.5195 GB, free: 3.648 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.132, allocations: 4 kB / 0.5195 GB, free: 3.645 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1321, allocations: 3.984 kB / 0.5195 GB, free: 3.641 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1321, allocations: 0 / 0.5195 GB, free: 3.641 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1321, allocations: 0 / 0.5195 GB, free: 3.641 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1323, allocations: 186.2 kB / 0.5197 GB, free: 3.441 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.1323, allocations: 7.953 kB / 0.5197 GB, free: 3.434 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1324, allocations: 4 kB / 0.5197 GB, free: 3.43 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1325, allocations: 4 kB / 0.5197 GB, free: 3.426 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.1325, allocations: 11.92 kB / 0.5197 GB, free: 3.414 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1325, allocations: 0 / 0.5197 GB, free: 3.414 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.025e-05/0.1325, allocations: 79.28 kB / 0.5198 GB, free: 3.336 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1325, allocations: 0 / 0.5198 GB, free: 3.336 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000234/0.1328, allocations: 11.94 kB / 0.5198 GB, free: 3.324 MB / 398.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.0001474/0.1329, allocations: 111.3 kB / 0.5199 GB, free: 3.203 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002259/0.1331, allocations: 39.91 kB / 0.5199 GB, free: 3.164 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1331, allocations: 0 / 0.5199 GB, free: 3.164 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.373e-05/0.1332, allocations: 31.91 kB / 0.52 GB, free: 3.133 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1334, allocations: 4 kB / 0.52 GB, free: 3.129 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.1339, allocations: 133.8 kB / 0.5201 GB, free: 2.969 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1342, allocations: 0.6768 MB / 0.5208 GB, free: 2.266 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 4.355e-05/0.1342, allocations: 8 kB / 0.5208 GB, free: 2.258 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.1343, allocations: 11.44 kB / 0.5208 GB, free: 2.246 MB / 398.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.1343, allocations: 0 / 0.5208 GB, free: 2.246 MB / 398.1 MB
Notification: Performance of Templates: time 0.002963/0.1372, allocations: 0.6884 MB / 0.5215 GB, free: 1.559 MB / 398.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.685989748686552]