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.001596/0.001596, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001689/0.001689, allocations: 185 kB / 18.72 MB, free: 4.332 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.486/1.486, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2154/0.2154, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3248, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001545/0.3264, allocations: 0.4902 MB / 0.5189 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003029/0.3267, allocations: 114.6 kB / 0.519 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.3267, allocations: 0 / 0.519 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.194e-05/0.3268, allocations: 0 / 0.519 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.327, allocations: 16.53 kB / 0.519 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.972e-05/0.327, allocations: 1.797 kB / 0.519 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.361e-05/0.3271, allocations: 3.219 kB / 0.519 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.3271, allocations: 2.547 kB / 0.519 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.572e-05/0.3271, allocations: 1.25 kB / 0.519 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.3272, allocations: 11.23 kB / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3272, allocations: 0 / 0.519 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.3273, allocations: 28.98 kB / 0.5191 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.3273, allocations: 3.938 kB / 0.5191 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.3273, allocations: 1.188 kB / 0.5191 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.777e-05/0.3274, allocations: 21.25 kB / 0.5191 GB, free: 2.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3274, allocations: 0 / 0.5191 GB, free: 2.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3274, allocations: 0 / 0.5191 GB, free: 2.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3275, allocations: 0 / 0.5191 GB, free: 2.883 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.0002435/0.3277, allocations: 316.7 kB / 0.5194 GB, free: 2.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3277, allocations: 8.75 kB / 0.5194 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.362e-05/0.3278, allocations: 36.88 kB / 0.5194 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.3278, allocations: 6.219 kB / 0.5194 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.3279, allocations: 162 kB / 0.5196 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.3279, allocations: 1.938 kB / 0.5196 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3279, allocations: 1.844 kB / 0.5196 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.661e-05/0.328, allocations: 33 kB / 0.5196 GB, free: 2.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.328, allocations: 7.891 kB / 0.5196 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.328, allocations: 5.969 kB / 0.5196 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.328, allocations: 3.938 kB / 0.5196 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.3281, allocations: 5.625 kB / 0.5197 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.3282, allocations: 160.5 kB / 0.5198 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3283, allocations: 31.12 kB / 0.5198 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.3284, allocations: 13.52 kB / 0.5198 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.3287, allocations: 111.8 kB / 0.52 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3287, allocations: 36.59 kB / 0.52 GB, free: 1.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.3287, allocations: 3.938 kB / 0.52 GB, free: 1.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00123/0.33, allocations: 181.7 kB / 0.5202 GB, free: 1.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.33, allocations: 56.53 kB / 0.5202 GB, free: 1.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.3301, allocations: 96.19 kB / 0.5203 GB, free: 1.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.3301, allocations: 26.83 kB / 0.5203 GB, free: 1.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.22e-05/0.3301, allocations: 88.08 kB / 0.5204 GB, free: 1.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3301, allocations: 15.23 kB / 0.5204 GB, free: 1.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.3302, allocations: 20.14 kB / 0.5205 GB, free: 1.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.3302, allocations: 317 kB / 0.5208 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.3303, allocations: 23.61 kB / 0.5208 GB, free: 1.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.3304, allocations: 23.67 kB / 0.5208 GB, free: 1.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3305, allocations: 44.69 kB / 0.5208 GB, free: 1.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3306, allocations: 0 / 0.5208 GB, free: 1.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000193/0.3308, allocations: 77.91 kB / 0.5209 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3308, allocations: 5.531 kB / 0.5209 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3308, allocations: 7.922 kB / 0.5209 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3308, allocations: 5.734 kB / 0.5209 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3309, allocations: 14.05 kB / 0.5209 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.331, allocations: 1.344 kB / 0.521 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.331, allocations: 5.891 kB / 0.521 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3311, allocations: 1.188 kB / 0.521 GB, free: 1.094 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 5.386e-05/0.3311, allocations: 116.9 kB / 0.5211 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.3311, allocations: 5.781 kB / 0.5211 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.3314, allocations: 89.45 kB / 0.5212 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.3314, allocations: 0 / 0.5212 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3314, allocations: 5.062 kB / 0.5212 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3314, allocations: 0.75 kB / 0.5212 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00064/0.3321, allocations: 359.7 kB / 0.5215 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3321, allocations: 0 / 0.5215 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-05/0.3322, allocations: 19.23 kB / 0.5215 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3322, allocations: 0.7031 kB / 0.5215 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3322, allocations: 5.281 kB / 0.5215 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3322, allocations: 2.062 kB / 0.5215 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3322, allocations: 1.219 kB / 0.5215 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.3324, allocations: 181.1 kB / 0.5217 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.3325, allocations: 78.97 kB / 0.5218 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3325, allocations: 1.625 kB / 0.5218 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3326, allocations: 7.078 kB / 0.5218 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.3326, allocations: 6.766 kB / 0.5218 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3326, allocations: 2.984 kB / 0.5218 GB, free: 332 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.838e-05/0.3327, allocations: 80.59 kB / 0.5219 GB, free: 252 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3327, allocations: 0 / 0.5219 GB, free: 252 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.3329, allocations: 12.66 kB / 0.5219 GB, free: 248 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.000568/0.3335, allocations: 0.7161 MB / 0.5226 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.3337, allocations: 47.34 kB / 0.5226 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3337, allocations: 7.938 kB / 0.5226 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.3338, allocations: 21.56 kB / 0.5227 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.334, allocations: 7.078 kB / 0.5227 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.3346, allocations: 171.3 kB / 0.5228 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3349, allocations: 0.6801 MB / 0.5235 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.3349, allocations: 4.312 kB / 0.5235 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.335, allocations: 15.55 kB / 0.5235 GB, free: 14.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.335, allocations: 0 / 0.5235 GB, free: 14.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.3569, allocations: 1.466 MB / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.01, allocations: 1.438 kB / 0.5249 GB, free: 14.28 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