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.001361/0.001361, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001409/0.001409, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2192/0.2192, allocations: 46.96 MB / 360.9 MB, free: 4.094 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.001966/0.001966, allocations: 59.91 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 66.04 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001556/0.3067, allocations: 0.4955 MB / 0.5611 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000329/0.3071, allocations: 103.7 kB / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.3071, allocations: 0 / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.3071, allocations: 0 / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.3073, allocations: 15.92 kB / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.548e-05/0.3073, allocations: 0 / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.963e-05/0.3074, allocations: 11.94 kB / 0.5612 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.3074, allocations: 4 kB / 0.5612 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.3074, allocations: 7.922 kB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.46e-05/0.3075, allocations: 0 / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3075, allocations: 4 kB / 0.5612 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.3075, allocations: 23.97 kB / 0.5612 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.3076, allocations: 0 / 0.5612 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.3076, allocations: 0 / 0.5612 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.917e-05/0.3076, allocations: 25.73 kB / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3076, allocations: 0 / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3076, allocations: 0 / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3077, allocations: 0 / 0.5612 GB, free: 3.516 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.0003/0.308, allocations: 250.4 kB / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.308, allocations: 8.031 kB / 0.5615 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.308, allocations: 34.75 kB / 0.5615 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.308, allocations: 4.938 kB / 0.5615 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.3081, allocations: 106.5 kB / 0.5616 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.3081, allocations: 384 / 0.5616 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.3082, allocations: 8.312 kB / 0.5616 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.936e-05/0.3083, allocations: 34.27 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3083, allocations: 3.938 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.3083, allocations: 0 / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3083, allocations: 0 / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.3083, allocations: 7.984 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.3085, allocations: 124.7 kB / 0.5618 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3086, allocations: 50.53 kB / 0.5618 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.3087, allocations: 8.859 kB / 0.5619 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.309, allocations: 40.03 kB / 0.5619 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.309, allocations: 38.56 kB / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.309, allocations: 0 / 0.5619 GB, free: 2.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.00115/0.3101, allocations: 193.3 kB / 0.5621 GB, free: 2.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3102, allocations: 55.41 kB / 0.5622 GB, free: 2.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.3103, allocations: 89.86 kB / 0.5623 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3103, allocations: 25.7 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.3103, allocations: 80.14 kB / 0.5624 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.3103, allocations: 19.89 kB / 0.5624 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.3104, allocations: 17.66 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3105, allocations: 319 kB / 0.5627 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.3106, allocations: 19.97 kB / 0.5627 GB, free: 1.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.3107, allocations: 19.98 kB / 0.5627 GB, free: 1.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3108, allocations: 44.83 kB / 0.5628 GB, free: 1.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3108, allocations: 0 / 0.5628 GB, free: 1.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002/0.311, allocations: 85.53 kB / 0.5629 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.311, allocations: 4 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.311, allocations: 4 kB / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3111, allocations: 4 kB / 0.5629 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3112, allocations: 11.98 kB / 0.5629 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3112, allocations: 0 / 0.5629 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.905e-05/0.3112, allocations: 4 kB / 0.5629 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3113, allocations: 7.984 kB / 0.5629 GB, free: 1.629 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 7.558e-05/0.3113, allocations: 109.8 kB / 0.563 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.3113, allocations: 11.89 kB / 0.563 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.3116, allocations: 97.11 kB / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3116, allocations: 0 / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3116, allocations: 320 / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3116, allocations: 0 / 0.5631 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.3123, allocations: 318.4 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3123, allocations: 8.031 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.3124, allocations: 15.98 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3124, allocations: 0 / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3124, allocations: 3.984 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3124, allocations: 4 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3124, allocations: 0 / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3126, allocations: 180.2 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.3127, allocations: 7.953 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3127, allocations: 3.938 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3128, allocations: 15.98 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.3128, allocations: 4 kB / 0.5636 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3128, allocations: 0 / 0.5636 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.3128, allocations: 75.28 kB / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3128, allocations: 4 kB / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.3131, allocations: 4 kB / 0.5637 GB, free: 0.6914 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.000583/0.3136, allocations: 0.7133 MB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.3138, allocations: 47.97 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3139, allocations: 0 / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.3139, allocations: 31.91 kB / 0.5645 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3141, allocations: 6.891 kB / 0.5645 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.3147, allocations: 167.4 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.435e-05/0.3147, allocations: 63.41 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.3148, allocations: 8 kB / 0.5647 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.3148, allocations: 15.42 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3148, allocations: 0 / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.3401, allocations: 2.046 MB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.74, allocations: 18.02 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.573210351984017]