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.001818/0.001818, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002167/0.002167, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.2242/0.2242, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.002048/0.002048, allocations: 63.89 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.312, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001658/0.3136, allocations: 495.5 kB / 0.5611 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003294/0.314, allocations: 107.6 kB / 0.5612 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.314, allocations: 0 / 0.5612 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.314, allocations: 0 / 0.5612 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.3142, allocations: 19.92 kB / 0.5612 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.511e-05/0.3142, allocations: 4 kB / 0.5612 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.47e-05/0.3143, allocations: 4 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.3143, allocations: 0 / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.3143, allocations: 3.984 kB / 0.5612 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.3144, allocations: 4 kB / 0.5612 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.3144, allocations: 0 / 0.5612 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.3144, allocations: 19.92 kB / 0.5612 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.3145, allocations: 15.92 kB / 0.5612 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.27e-05/0.3145, allocations: 0 / 0.5612 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.395e-05/0.3146, allocations: 17.8 kB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3146, allocations: 0 / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3146, allocations: 4 kB / 0.5612 GB, free: 3.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3146, allocations: 0 / 0.5612 GB, free: 3.562 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.0002973/0.3149, allocations: 246.3 kB / 0.5615 GB, free: 3.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3149, allocations: 12.03 kB / 0.5615 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.315, allocations: 34.73 kB / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.315, allocations: 4.922 kB / 0.5615 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.3151, allocations: 110.5 kB / 0.5616 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.3151, allocations: 384 / 0.5616 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3151, allocations: 384 / 0.5616 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.639e-05/0.3152, allocations: 34.25 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3152, allocations: 3.938 kB / 0.5617 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.3152, allocations: 4 kB / 0.5617 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3152, allocations: 4 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.3153, allocations: 11.94 kB / 0.5617 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.3154, allocations: 128.7 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3156, allocations: 30.52 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.3156, allocations: 16.94 kB / 0.5619 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.3159, allocations: 31.95 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.316, allocations: 42.56 kB / 0.5619 GB, free: 2.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.316, allocations: 0 / 0.5619 GB, free: 2.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001206/0.3172, allocations: 185.3 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3172, allocations: 51.41 kB / 0.5622 GB, free: 2.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.3173, allocations: 101.8 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3173, allocations: 25.7 kB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.3174, allocations: 88.12 kB / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3174, allocations: 11.91 kB / 0.5624 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.3174, allocations: 21.7 kB / 0.5624 GB, free: 2.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3176, allocations: 314.8 kB / 0.5627 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.3176, allocations: 15.98 kB / 0.5627 GB, free: 1.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.3177, allocations: 19.98 kB / 0.5627 GB, free: 1.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.3179, allocations: 53.14 kB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3179, allocations: 0 / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001945/0.3181, allocations: 77.59 kB / 0.5629 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3181, allocations: 8 kB / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3181, allocations: 0 / 0.5629 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3181, allocations: 3.938 kB / 0.5629 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3182, allocations: 15.98 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3182, allocations: 3.938 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.3183, allocations: 11.98 kB / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.3183, allocations: 0 / 0.5629 GB, free: 1.676 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 8.387e-05/0.3184, allocations: 113.8 kB / 0.563 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.3184, allocations: 7.891 kB / 0.563 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.3187, allocations: 89.17 kB / 0.5631 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3187, allocations: 0 / 0.5631 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3187, allocations: 4 kB / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3187, allocations: 7.938 kB / 0.5631 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/0.3194, allocations: 314.7 kB / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3194, allocations: 4 kB / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.553e-05/0.3195, allocations: 19.92 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3195, allocations: 48 / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3195, allocations: 7.984 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3195, allocations: 0 / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3195, allocations: 4.031 kB / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.3197, allocations: 180.4 kB / 0.5636 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.3197, allocations: 7.953 kB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3198, allocations: 4 kB / 0.5636 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3199, allocations: 7.984 kB / 0.5636 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.3199, allocations: 7.875 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3199, allocations: 0 / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.016e-05/0.3199, allocations: 79.28 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3199, allocations: 4.094 kB / 0.5637 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.3201, allocations: 15.98 kB / 0.5637 GB, free: 0.7227 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.0005769/0.3207, allocations: 0.7055 MB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3209, allocations: 43.89 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3209, allocations: 4 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.321, allocations: 20.05 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.3212, allocations: 10.5 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005538/0.3218, allocations: 175.2 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.709e-05/0.3218, allocations: 59.3 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.444e-05/0.3219, allocations: 11.98 kB / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.3219, allocations: 15.44 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3219, allocations: 0 / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.3472, allocations: 2.012 MB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.17, allocations: 4.062 kB / 0.5667 GB, free: 13.71 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: 14.171747527085245]