Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 116.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 183.8 kB / 18.72 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2041/0.2041, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3264, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00141/0.3278, allocations: 0.4928 MB / 0.5189 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002678/0.3281, allocations: 105.8 kB / 0.519 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.3282, allocations: 4 kB / 0.519 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.3282, allocations: 1.375 kB / 0.519 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.3284, allocations: 16.05 kB / 0.519 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.73e-05/0.3284, allocations: 6.094 kB / 0.519 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.251e-05/0.3285, allocations: 8.016 kB / 0.519 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.3285, allocations: 2.219 kB / 0.519 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.3285, allocations: 1.5 kB / 0.519 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.3286, allocations: 6.312 kB / 0.519 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.3286, allocations: 0 / 0.519 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.3287, allocations: 20.89 kB / 0.5191 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.3287, allocations: 8.656 kB / 0.5191 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.3287, allocations: 1.344 kB / 0.5191 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.872e-05/0.3288, allocations: 19.78 kB / 0.5191 GB, free: 2.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3288, allocations: 1.531 kB / 0.5191 GB, free: 2.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3288, allocations: 0.7031 kB / 0.5191 GB, free: 2.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3288, allocations: 0 / 0.5191 GB, free: 2.871 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.0002199/0.3291, allocations: 322 kB / 0.5194 GB, free: 2.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3291, allocations: 9.875 kB / 0.5194 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.955e-05/0.3291, allocations: 31.5 kB / 0.5194 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.3292, allocations: 2.281 kB / 0.5194 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.255e-05/0.3292, allocations: 165.8 kB / 0.5196 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3292, allocations: 1.625 kB / 0.5196 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3293, allocations: 6.453 kB / 0.5196 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.446e-05/0.3293, allocations: 36.22 kB / 0.5196 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3294, allocations: 8.594 kB / 0.5196 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.3294, allocations: 1.062 kB / 0.5196 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3294, allocations: 0 / 0.5196 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.3294, allocations: 10.88 kB / 0.5197 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.3295, allocations: 154.5 kB / 0.5198 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3297, allocations: 35.94 kB / 0.5198 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.3297, allocations: 19.03 kB / 0.5199 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.33, allocations: 116.1 kB / 0.52 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.33, allocations: 36.36 kB / 0.52 GB, free: 1.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3301, allocations: 0 / 0.52 GB, free: 1.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00121/0.3313, allocations: 184.7 kB / 0.5202 GB, free: 1.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.3313, allocations: 53.23 kB / 0.5202 GB, free: 1.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.712e-05/0.3313, allocations: 95.91 kB / 0.5203 GB, free: 1.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.3314, allocations: 26.86 kB / 0.5203 GB, free: 1.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.035e-05/0.3314, allocations: 80.89 kB / 0.5204 GB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.3314, allocations: 19.52 kB / 0.5204 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.3314, allocations: 18.45 kB / 0.5205 GB, free: 1.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.822e-05/0.3315, allocations: 317.4 kB / 0.5208 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.3316, allocations: 19.5 kB / 0.5208 GB, free: 1.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.749e-05/0.3316, allocations: 20.92 kB / 0.5208 GB, free: 1.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3318, allocations: 48.64 kB / 0.5208 GB, free: 1.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3318, allocations: 0 / 0.5208 GB, free: 1.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.332, allocations: 81.12 kB / 0.5209 GB, free: 1.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.332, allocations: 5.156 kB / 0.5209 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.332, allocations: 0.75 kB / 0.5209 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.332, allocations: 1.031 kB / 0.5209 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3322, allocations: 18.69 kB / 0.5209 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3322, allocations: 0.5156 kB / 0.5209 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.3323, allocations: 6.516 kB / 0.521 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3323, allocations: 1.609 kB / 0.521 GB, free: 1.086 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.8e-05/0.3323, allocations: 116.2 kB / 0.5211 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.3323, allocations: 5.891 kB / 0.5211 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.3326, allocations: 93.5 kB / 0.5212 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3326, allocations: 3.984 kB / 0.5212 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3326, allocations: 1.922 kB / 0.5212 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3326, allocations: 0 / 0.5212 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.3332, allocations: 364.9 kB / 0.5215 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3332, allocations: 4 kB / 0.5215 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.3333, allocations: 13.8 kB / 0.5215 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3333, allocations: 1.438 kB / 0.5215 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3334, allocations: 6.078 kB / 0.5215 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3334, allocations: 0 / 0.5215 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3334, allocations: 2.016 kB / 0.5215 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3336, allocations: 180.7 kB / 0.5217 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.3336, allocations: 78.97 kB / 0.5218 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.3336, allocations: 7.078 kB / 0.5218 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.3337, allocations: 5.688 kB / 0.5218 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.3337, allocations: 2.984 kB / 0.5218 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3338, allocations: 3.5 kB / 0.5218 GB, free: 316 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.63e-05/0.3338, allocations: 80.38 kB / 0.5219 GB, free: 236 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3338, allocations: 4.094 kB / 0.5219 GB, free: 232 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.334, allocations: 6.969 kB / 0.5219 GB, free: 232 kB / 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.0004933/0.3345, allocations: 0.7211 MB / 0.5226 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3347, allocations: 48.09 kB / 0.5226 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3347, allocations: 0 / 0.5226 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.3348, allocations: 28.77 kB / 0.5227 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.335, allocations: 2.688 kB / 0.5227 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.3356, allocations: 167.7 kB / 0.5228 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.3358, allocations: 0.6798 MB / 0.5235 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.101e-05/0.3359, allocations: 4.391 kB / 0.5235 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.3359, allocations: 19.19 kB / 0.5235 GB, free: 14.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3359, allocations: 1.469 kB / 0.5235 GB, free: 14.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.3531, allocations: 1.465 MB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.769, allocations: 5.375 kB / 0.525 GB, free: 14.26 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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.00052 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches