Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001288/0.001288, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001313/0.001313, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.213/0.213, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 55.91 kB / 0.4909 GB, free: 8.133 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1163, allocations: 66 MB / 0.5554 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001589/0.1179, allocations: 0.4892 MB / 0.5558 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003095/0.1182, allocations: 104.3 kB / 0.5559 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.1182, allocations: 0 / 0.5559 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.1183, allocations: 0 / 0.5559 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1185, allocations: 15.92 kB / 0.5559 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.311e-05/0.1185, allocations: 11.92 kB / 0.556 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.631e-05/0.1185, allocations: 3.938 kB / 0.556 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.1186, allocations: 4 kB / 0.556 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.1186, allocations: 7.938 kB / 0.556 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.1186, allocations: 3.984 kB / 0.556 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1186, allocations: 0 / 0.556 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.1187, allocations: 23.98 kB / 0.556 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.1187, allocations: 0 / 0.556 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.1188, allocations: 7.938 kB / 0.556 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.266e-05/0.1188, allocations: 15.95 kB / 0.556 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1188, allocations: 0 / 0.556 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1188, allocations: 0 / 0.556 GB, free: 5.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1189, allocations: 0 / 0.556 GB, free: 5.324 MB / 414.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.0003587/0.1192, allocations: 327.5 kB / 0.5563 GB, free: 4.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1192, allocations: 8.031 kB / 0.5563 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.1193, allocations: 38.67 kB / 0.5564 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.1193, allocations: 4.938 kB / 0.5564 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1194, allocations: 164.4 kB / 0.5565 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1195, allocations: 4.375 kB / 0.5565 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1195, allocations: 4.359 kB / 0.5565 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.18e-05/0.1196, allocations: 34.25 kB / 0.5566 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1196, allocations: 3.938 kB / 0.5566 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1196, allocations: 4 kB / 0.5566 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1196, allocations: 4 kB / 0.5566 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.1196, allocations: 8 kB / 0.5566 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1198, allocations: 149.7 kB / 0.5567 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.12, allocations: 42.48 kB / 0.5568 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.12, allocations: 12.86 kB / 0.5568 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.1204, allocations: 113.2 kB / 0.5569 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1204, allocations: 38.55 kB / 0.5569 GB, free: 4.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1204, allocations: 0 / 0.5569 GB, free: 4.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001323/0.1217, allocations: 193.3 kB / 0.5571 GB, free: 3.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1218, allocations: 51.41 kB / 0.5572 GB, free: 3.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.1218, allocations: 93.86 kB / 0.5573 GB, free: 3.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1219, allocations: 25.7 kB / 0.5573 GB, free: 3.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.1219, allocations: 80.14 kB / 0.5574 GB, free: 3.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1219, allocations: 19.89 kB / 0.5574 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.122, allocations: 17.72 kB / 0.5574 GB, free: 3.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1221, allocations: 315 kB / 0.5577 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.1222, allocations: 19.98 kB / 0.5577 GB, free: 3.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.1223, allocations: 15.97 kB / 0.5577 GB, free: 3.324 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1224, allocations: 52.77 kB / 0.5578 GB, free: 3.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1224, allocations: 0 / 0.5578 GB, free: 3.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002055/0.1226, allocations: 85.55 kB / 0.5579 GB, free: 3.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1227, allocations: 4 kB / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1227, allocations: 0 / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1227, allocations: 0 / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1228, allocations: 15.98 kB / 0.5579 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1228, allocations: 3.984 kB / 0.5579 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.528e-05/0.1229, allocations: 4 kB / 0.5579 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1229, allocations: 0 / 0.5579 GB, free: 3.152 MB / 414.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.212e-05/0.123, allocations: 117.8 kB / 0.558 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.123, allocations: 15.88 kB / 0.558 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1233, allocations: 85.47 kB / 0.5581 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1233, allocations: 4 kB / 0.5581 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1233, allocations: 0 / 0.5581 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1233, allocations: 0 / 0.5581 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.124, allocations: 359.2 kB / 0.5584 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.124, allocations: 0 / 0.5584 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.1241, allocations: 15.98 kB / 0.5585 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1241, allocations: 336 / 0.5585 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1242, allocations: 7.938 kB / 0.5585 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1242, allocations: 0 / 0.5585 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1242, allocations: 0 / 0.5585 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1244, allocations: 188.3 kB / 0.5587 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.1245, allocations: 85.06 kB / 0.5587 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1245, allocations: 4 kB / 0.5587 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1246, allocations: 7.984 kB / 0.5587 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.1246, allocations: 4 kB / 0.5587 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1246, allocations: 7.984 kB / 0.5588 GB, free: 2.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.1247, allocations: 75.28 kB / 0.5588 GB, free: 2.086 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1247, allocations: 0 / 0.5588 GB, free: 2.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1249, allocations: 11.94 kB / 0.5588 GB, free: 2.074 MB / 414.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.0005869/0.1255, allocations: 0.7172 MB / 0.5595 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1257, allocations: 43.95 kB / 0.5596 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1257, allocations: 0 / 0.5596 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.1258, allocations: 23.92 kB / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.126, allocations: 5.875 kB / 0.5596 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.1265, allocations: 163.6 kB / 0.5598 GB, free: 1.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1268, allocations: 0.6729 MB / 0.5604 GB, free: 360 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.1269, allocations: 12.3 kB / 0.5604 GB, free: 348 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.1269, allocations: 15.38 kB / 0.5604 GB, free: 332 kB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1269, allocations: 4 kB / 0.5605 GB, free: 328 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.1478, allocations: 1.486 MB / 0.5619 GB, free: 14.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/7.858, allocations: 4 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 10.85186081500433]