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.001807/0.001807, allocations: 109.2 kB / 20.43 MB, free: 1.309 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.002466/0.002466, allocations: 220.1 kB / 23.75 MB, free: 4.531 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.969 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.262/0.262, allocations: 46.94 MB / 360.9 MB, free: 4.238 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.001913/0.001913, allocations: 71.89 kB / 0.4961 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3017, allocations: 66.04 MB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001525/0.3032, allocations: 0.4945 MB / 0.5611 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.3035, allocations: 107.6 kB / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.3035, allocations: 0 / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.3036, allocations: 0 / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.3037, allocations: 19.92 kB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.497e-05/0.3038, allocations: 0 / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.969e-05/0.3038, allocations: 4 kB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.3038, allocations: 4 kB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.3039, allocations: 3.938 kB / 0.5613 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.3039, allocations: 15.91 kB / 0.5613 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.3039, allocations: 0 / 0.5613 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.304, allocations: 19.98 kB / 0.5613 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.304, allocations: 0 / 0.5613 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.304, allocations: 3.938 kB / 0.5613 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.458e-05/0.3041, allocations: 22.09 kB / 0.5613 GB, free: 3.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.3041, allocations: 3.984 kB / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3041, allocations: 0 / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3041, allocations: 0 / 0.5613 GB, free: 3.906 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.0002964/0.3044, allocations: 246.4 kB / 0.5615 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3044, allocations: 8.031 kB / 0.5616 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.3045, allocations: 30.75 kB / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.3045, allocations: 8.922 kB / 0.5616 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3046, allocations: 102.5 kB / 0.5617 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3046, allocations: 4.375 kB / 0.5617 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3046, allocations: 4.375 kB / 0.5617 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.012e-05/0.3047, allocations: 34.27 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3047, allocations: 7.875 kB / 0.5617 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3048, allocations: 3.984 kB / 0.5617 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3048, allocations: 0 / 0.5617 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.3048, allocations: 4 kB / 0.5617 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3049, allocations: 124.8 kB / 0.5619 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3051, allocations: 34.58 kB / 0.5619 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.3051, allocations: 16.88 kB / 0.5619 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.3055, allocations: 43.88 kB / 0.562 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.3055, allocations: 42.5 kB / 0.562 GB, free: 3.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3055, allocations: 0 / 0.562 GB, free: 3.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001271/0.3068, allocations: 185.5 kB / 0.5622 GB, free: 2.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3068, allocations: 59.33 kB / 0.5622 GB, free: 2.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.3069, allocations: 93.86 kB / 0.5623 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3069, allocations: 29.83 kB / 0.5624 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.3069, allocations: 84.14 kB / 0.5624 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.307, allocations: 11.91 kB / 0.5624 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.307, allocations: 17.7 kB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3071, allocations: 314.8 kB / 0.5628 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.736e-05/0.3072, allocations: 15.98 kB / 0.5628 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.3073, allocations: 19.98 kB / 0.5628 GB, free: 2.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3074, allocations: 49.02 kB / 0.5628 GB, free: 2.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3074, allocations: 4 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002097/0.3076, allocations: 85.62 kB / 0.5629 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3077, allocations: 8 kB / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3077, allocations: 3.984 kB / 0.5629 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3077, allocations: 0 / 0.5629 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3078, allocations: 11.98 kB / 0.5629 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3078, allocations: 4 kB / 0.563 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.3079, allocations: 7.984 kB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3079, allocations: 4 kB / 0.563 GB, free: 2.02 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.603e-05/0.308, allocations: 109.8 kB / 0.5631 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.308, allocations: 11.89 kB / 0.5631 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.3083, allocations: 93.17 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3083, allocations: 0 / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3083, allocations: 0 / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.3083, allocations: 0 / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.309, allocations: 326.4 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.309, allocations: 3.984 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.3091, allocations: 16.03 kB / 0.5635 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3091, allocations: 3.984 kB / 0.5635 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3091, allocations: 0 / 0.5635 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3091, allocations: 3.938 kB / 0.5635 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3091, allocations: 4 kB / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.3094, allocations: 176.5 kB / 0.5637 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.3094, allocations: 7.953 kB / 0.5637 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.3094, allocations: 8 kB / 0.5637 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3095, allocations: 7.984 kB / 0.5637 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.3095, allocations: 7.938 kB / 0.5637 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3095, allocations: 4 kB / 0.5637 GB, free: 1.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.373e-05/0.3096, allocations: 79.22 kB / 0.5638 GB, free: 1.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3096, allocations: 0 / 0.5638 GB, free: 1.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.3098, allocations: 11.94 kB / 0.5638 GB, free: 1.07 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.0005886/0.3104, allocations: 0.7094 MB / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3106, allocations: 47.91 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3106, allocations: 4 kB / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.3107, allocations: 27.97 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3109, allocations: 2.5 kB / 0.5646 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.3114, allocations: 167.3 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3118, allocations: 0.6807 MB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.3118, allocations: 8.062 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.3118, allocations: 15.42 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3118, allocations: 0 / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.3379, allocations: 1.605 MB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.9, allocations: 6.516 kB / 0.567 GB, free: 13.83 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.877290502001415]