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.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.001329/0.001329, allocations: 104.3 kB / 20.48 MB, free: 1.383 MB / 14.72 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.001832/0.001832, allocations: 213.6 kB / 23.77 MB, free: 4.551 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.435/1.435, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2348/0.2348, allocations: 44.26 MB / 331.1 MB, free: 9.32 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.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 67.91 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1142, allocations: 61.06 MB / 0.517 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00198/0.1162, allocations: 0.5404 MB / 0.5175 GB, free: 6.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.1164, allocations: 55.73 kB / 0.5176 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.1165, allocations: 0 / 0.5176 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.1165, allocations: 3.938 kB / 0.5176 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1167, allocations: 19.97 kB / 0.5176 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.073e-05/0.1167, allocations: 7.922 kB / 0.5176 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.604e-05/0.1168, allocations: 12 kB / 0.5176 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1168, allocations: 4 kB / 0.5176 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.497e-05/0.1168, allocations: 0 / 0.5176 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.1169, allocations: 7.938 kB / 0.5176 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1169, allocations: 0 / 0.5176 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.352e-05/0.117, allocations: 23.97 kB / 0.5176 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.117, allocations: 3.984 kB / 0.5176 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.117, allocations: 0 / 0.5176 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.426e-05/0.1171, allocations: 19.92 kB / 0.5177 GB, free: 6.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1171, allocations: 0 / 0.5177 GB, free: 6.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1171, allocations: 0 / 0.5177 GB, free: 6.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1171, allocations: 4 kB / 0.5177 GB, free: 6.414 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.0003164/0.1174, allocations: 246.4 kB / 0.5179 GB, free: 6.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1174, allocations: 12.03 kB / 0.5179 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.126e-05/0.1174, allocations: 192 / 0.5179 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.1175, allocations: 34.69 kB / 0.5179 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.1175, allocations: 8.875 kB / 0.518 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1176, allocations: 102.5 kB / 0.5181 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-06/0.1176, allocations: 384 / 0.5181 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1176, allocations: 8.375 kB / 0.5181 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.1177, allocations: 38 kB / 0.5181 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1177, allocations: 0 / 0.5181 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1177, allocations: 4 kB / 0.5181 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1177, allocations: 0 / 0.5181 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.414e-05/0.1178, allocations: 7.984 kB / 0.5181 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1179, allocations: 120.8 kB / 0.5182 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1181, allocations: 38.55 kB / 0.5183 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.1181, allocations: 12.86 kB / 0.5183 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/0.1185, allocations: 40.03 kB / 0.5183 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.1185, allocations: 38.5 kB / 0.5184 GB, free: 5.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1185, allocations: 0 / 0.5184 GB, free: 5.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001366/0.1199, allocations: 185.3 kB / 0.5185 GB, free: 5.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1199, allocations: 51.41 kB / 0.5186 GB, free: 5.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.12, allocations: 97.86 kB / 0.5187 GB, free: 5.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.12, allocations: 25.7 kB / 0.5187 GB, free: 5.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.12, allocations: 80.14 kB / 0.5188 GB, free: 5.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.1201, allocations: 23.88 kB / 0.5188 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1201, allocations: 13.72 kB / 0.5188 GB, free: 5.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1203, allocations: 314.8 kB / 0.5191 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.1203, allocations: 23.97 kB / 0.5191 GB, free: 4.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.1204, allocations: 19.92 kB / 0.5191 GB, free: 4.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1206, allocations: 53.08 kB / 0.5192 GB, free: 4.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1206, allocations: 4 kB / 0.5192 GB, free: 4.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002033/0.1208, allocations: 81.56 kB / 0.5193 GB, free: 4.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1208, allocations: 7.984 kB / 0.5193 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1208, allocations: 0 / 0.5193 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1208, allocations: 0 / 0.5193 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.121, allocations: 15.98 kB / 0.5193 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.121, allocations: 0 / 0.5193 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-05/0.121, allocations: 4 kB / 0.5193 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1211, allocations: 4.281 kB / 0.5193 GB, free: 4.535 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 9.103e-05/0.1211, allocations: 121.8 kB / 0.5194 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.1212, allocations: 3.938 kB / 0.5194 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.1214, allocations: 89.23 kB / 0.5195 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1214, allocations: 0 / 0.5195 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1214, allocations: 3.984 kB / 0.5195 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1214, allocations: 4 kB / 0.5195 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007397/0.1222, allocations: 318.4 kB / 0.5198 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1222, allocations: 3.938 kB / 0.5198 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1223, allocations: 15.98 kB / 0.5198 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1223, allocations: 0 / 0.5198 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1223, allocations: 0 / 0.5198 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1223, allocations: 3.984 kB / 0.5199 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1223, allocations: 7.969 kB / 0.5199 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1226, allocations: 180.4 kB / 0.52 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.1226, allocations: 8.016 kB / 0.52 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1226, allocations: 4 kB / 0.52 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1227, allocations: 8 kB / 0.52 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.1227, allocations: 3.984 kB / 0.5201 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1227, allocations: 4 kB / 0.5201 GB, free: 3.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.1228, allocations: 75.28 kB / 0.5201 GB, free: 3.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1228, allocations: 4.094 kB / 0.5201 GB, free: 3.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00024/0.123, allocations: 15.88 kB / 0.5201 GB, free: 3.59 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.0005994/0.1236, allocations: 0.7094 MB / 0.5208 GB, free: 2.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1238, allocations: 47.91 kB / 0.5209 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1238, allocations: 3.938 kB / 0.5209 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.1239, allocations: 28.03 kB / 0.5209 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1241, allocations: 4 kB / 0.5209 GB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.1247, allocations: 163.3 kB / 0.5211 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.1247, allocations: 63.34 kB / 0.5211 GB, free: 2.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.1248, allocations: 8 kB / 0.5211 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1248, allocations: 11.44 kB / 0.5212 GB, free: 2.461 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1248, allocations: 4 kB / 0.5212 GB, free: 2.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.1456, allocations: 1.687 MB / 0.5228 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.41, allocations: 7.812 kB / 0.5228 GB, free: 0.7656 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --stepSize=0.000259896 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/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: 14.42618226702325]