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.001781/0.001781, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.002143/0.002143, allocations: 212 kB / 20.09 MB, free: 2.977 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.483/1.483, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3258/0.3258, allocations: 44.24 MB / 326.6 MB, free: 6.801 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.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",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.002158/0.002158, allocations: 67.91 kB / 462.3 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2734, allocations: 61 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001616/0.275, allocations: 0.5467 MB / 0.5115 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002723/0.2753, allocations: 71.06 kB / 0.5116 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.2753, allocations: 1.375 kB / 0.5116 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2754, allocations: 7.875 kB / 0.5116 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.2756, allocations: 15.52 kB / 0.5116 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.948e-05/0.2756, allocations: 6.125 kB / 0.5116 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.2756, allocations: 6.359 kB / 0.5116 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.2757, allocations: 1.312 kB / 0.5116 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.2757, allocations: 2.438 kB / 0.5116 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.2758, allocations: 4.984 kB / 0.5116 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2758, allocations: 0 / 0.5116 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.2759, allocations: 22.88 kB / 0.5117 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.2759, allocations: 4.812 kB / 0.5117 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.2759, allocations: 5.031 kB / 0.5117 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.41e-05/0.276, allocations: 19.2 kB / 0.5117 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.276, allocations: 0 / 0.5117 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.276, allocations: 3.938 kB / 0.5117 GB, free: 12.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.276, allocations: 3.938 kB / 0.5117 GB, free: 12.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.0002835/0.2763, allocations: 328.7 kB / 0.512 GB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2763, allocations: 13.48 kB / 0.512 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.2764, allocations: 30.75 kB / 0.5121 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.194e-05/0.2764, allocations: 2.25 kB / 0.5121 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.172e-05/0.2764, allocations: 161.8 kB / 0.5122 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2765, allocations: 8.359 kB / 0.5122 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.2765, allocations: 5.844 kB / 0.5122 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.19e-05/0.2766, allocations: 30.61 kB / 0.5123 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2766, allocations: 3.938 kB / 0.5123 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.2766, allocations: 0 / 0.5123 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2766, allocations: 1.125 kB / 0.5123 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.748e-05/0.2766, allocations: 11.92 kB / 0.5123 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.2767, allocations: 149.8 kB / 0.5124 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.2769, allocations: 38.61 kB / 0.5125 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.2769, allocations: 9.109 kB / 0.5125 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/0.2773, allocations: 122.2 kB / 0.5126 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.2773, allocations: 31.53 kB / 0.5126 GB, free: 11.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2773, allocations: 0 / 0.5126 GB, free: 11.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001246/0.2785, allocations: 193.5 kB / 0.5128 GB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.2786, allocations: 51.41 kB / 0.5128 GB, free: 11.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.01e-05/0.2786, allocations: 96.31 kB / 0.5129 GB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.2786, allocations: 25.83 kB / 0.513 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.169e-05/0.2786, allocations: 84.14 kB / 0.513 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.2786, allocations: 18.56 kB / 0.5131 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.2787, allocations: 13.81 kB / 0.5131 GB, free: 11.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.2787, allocations: 323.9 kB / 0.5134 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.2788, allocations: 18.39 kB / 0.5134 GB, free: 10.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.2789, allocations: 20.3 kB / 0.5134 GB, free: 10.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.279, allocations: 47.45 kB / 0.5135 GB, free: 10.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.279, allocations: 0 / 0.5135 GB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001835/0.2792, allocations: 87.33 kB / 0.5135 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2792, allocations: 4.562 kB / 0.5136 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2792, allocations: 1.281 kB / 0.5136 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2792, allocations: 3.938 kB / 0.5136 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.2794, allocations: 19.02 kB / 0.5136 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2794, allocations: 3.938 kB / 0.5136 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.2794, allocations: 12.3 kB / 0.5136 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2795, allocations: 1.031 kB / 0.5136 GB, free: 10.71 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 4.533e-05/0.2795, allocations: 112 kB / 0.5137 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.2795, allocations: 5.844 kB / 0.5137 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.2798, allocations: 89.48 kB / 0.5138 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2798, allocations: 1.188 kB / 0.5138 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2798, allocations: 0 / 0.5138 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2798, allocations: 0 / 0.5138 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.2803, allocations: 350.6 kB / 0.5141 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2803, allocations: 0 / 0.5141 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/0.2804, allocations: 20.92 kB / 0.5141 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2804, allocations: 3.984 kB / 0.5141 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2804, allocations: 3.938 kB / 0.5142 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2804, allocations: 3.438 kB / 0.5142 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2804, allocations: 0 / 0.5142 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.2806, allocations: 177.3 kB / 0.5143 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.447e-05/0.2806, allocations: 85.06 kB / 0.5144 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.2806, allocations: 2.969 kB / 0.5144 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.2807, allocations: 11.58 kB / 0.5144 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.2807, allocations: 0 / 0.5144 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2808, allocations: 3.938 kB / 0.5144 GB, free: 9.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.554e-05/0.2808, allocations: 75.28 kB / 0.5145 GB, free: 9.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2808, allocations: 0 / 0.5145 GB, free: 9.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.281, allocations: 7.219 kB / 0.5145 GB, free: 9.805 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.0003707/0.2814, allocations: 0.7316 MB / 0.5152 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.2816, allocations: 47.28 kB / 0.5153 GB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2816, allocations: 4 kB / 0.5153 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.2817, allocations: 26.31 kB / 0.5153 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.2819, allocations: 6.062 kB / 0.5153 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.2824, allocations: 162.8 kB / 0.5154 GB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.2825, allocations: 0.6855 MB / 0.5161 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.2825, allocations: 7.625 kB / 0.5161 GB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.2825, allocations: 14.02 kB / 0.5161 GB, free: 8.152 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2825, allocations: 0 / 0.5161 GB, free: 8.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.3054, allocations: 1.475 MB / 0.5176 GB, free: 7.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.162, allocations: 12.78 kB / 0.5176 GB, free: 7.227 MB / 382.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv --start-time 0 --stop-time 1.3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000259896 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.csv","/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: 11.066434717999073]