Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001135/0.001135, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009901/0.0009901, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.812/0.812, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1302/0.1302, allocations: 32.38 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 406.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.306e-05, allocations: 6.078 kB / 406.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0009691/0.0009821, allocations: 0.5419 MB / 407.4 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.001197, allocations: 67.66 kB / 407.5 MB, free: 1.594 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.00122, allocations: 0 / 407.5 MB, free: 1.594 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.001234, allocations: 0 / 407.5 MB, free: 1.594 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.001442, allocations: 15.92 kB / 407.5 MB, free: 1.578 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.406e-05/0.001456, allocations: 3.984 kB / 407.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.238e-05/0.001499, allocations: 4 kB / 407.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.001537, allocations: 3.984 kB / 407.5 MB, free: 1.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.001565, allocations: 11.94 kB / 407.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.919e-05/0.001605, allocations: 0 / 407.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.001617, allocations: 0 / 407.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.001689, allocations: 23.98 kB / 407.5 MB, free: 1.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.001701, allocations: 3.984 kB / 407.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.463e-05/0.001716, allocations: 0 / 407.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.001803, allocations: 23.91 kB / 407.6 MB, free: 1.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.001805, allocations: 0 / 407.6 MB, free: 1.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.001805, allocations: 0 / 407.6 MB, free: 1.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.001809, allocations: 0 / 407.6 MB, free: 1.504 MB / 378.7 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.0002545/0.002064, allocations: 254.3 kB / 407.8 MB, free: 1.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.002105, allocations: 8.031 kB / 407.8 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.002135, allocations: 34.69 kB / 407.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.002157, allocations: 4.938 kB / 407.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.002233, allocations: 109.8 kB / 408 MB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.002243, allocations: 4.312 kB / 408 MB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.002264, allocations: 4.375 kB / 408 MB, free: 1.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.002347, allocations: 34.27 kB / 408 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.002356, allocations: 192 / 408 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.002363, allocations: 384 / 408 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.002369, allocations: 4.125 kB / 408 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.002399, allocations: 7.984 kB / 408 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.002508, allocations: 120.8 kB / 408.1 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.002675, allocations: 42.55 kB / 408.2 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.262e-05/0.002698, allocations: 12.86 kB / 408.2 MB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.002919, allocations: 36.03 kB / 408.2 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.002937, allocations: 34.56 kB / 408.3 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.002938, allocations: 0 / 408.3 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007219/0.00366, allocations: 189.3 kB / 408.5 MB, free: 492 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.003688, allocations: 55.41 kB / 408.5 MB, free: 424 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.586e-05/0.003733, allocations: 93.86 kB / 408.6 MB, free: 320 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.003743, allocations: 25.7 kB / 408.6 MB, free: 288 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.003763, allocations: 84.12 kB / 408.7 MB, free: 200 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.003788, allocations: 15.84 kB / 408.7 MB, free: 184 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.003819, allocations: 17.72 kB / 408.7 MB, free: 160 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.003919, allocations: 310.8 kB / 409 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.003969, allocations: 28.09 kB / 409.1 MB, free: 15.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.004007, allocations: 20.17 kB / 409.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.004091, allocations: 52.77 kB / 409.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.004092, allocations: 0 / 409.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001142/0.004206, allocations: 77.61 kB / 409.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004218, allocations: 7.938 kB / 409.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.004223, allocations: 0 / 409.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.004237, allocations: 11.94 kB / 409.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.004301, allocations: 11.98 kB / 409.3 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.004305, allocations: 0 / 409.3 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.004341, allocations: 8 kB / 409.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.00435, allocations: 7.984 kB / 409.3 MB, free: 15.61 MB / 394.7 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.315e-05/0.004403, allocations: 109.8 kB / 409.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.004409, allocations: 0 / 409.4 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.004565, allocations: 93.3 kB / 409.5 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.004567, allocations: 3.938 kB / 409.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.004571, allocations: 0 / 409.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.004574, allocations: 0 / 409.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.004962, allocations: 322.4 kB / 409.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.004963, allocations: 0 / 409.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.005004, allocations: 20.02 kB / 409.8 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005006, allocations: 3.938 kB / 409.8 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.005014, allocations: 3.984 kB / 409.8 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005016, allocations: 128 / 409.8 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.005018, allocations: 8 kB / 409.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.005143, allocations: 180.2 kB / 410 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.005151, allocations: 7.953 kB / 410 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.005162, allocations: 0 / 410 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.005207, allocations: 11.98 kB / 410 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.005222, allocations: 4 kB / 410 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.005226, allocations: 0 / 410 MB, free: 14.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.174e-05/0.005248, allocations: 75.28 kB / 410.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005248, allocations: 0 / 410.1 MB, free: 14.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.005398, allocations: 12 kB / 410.1 MB, free: 14.69 MB / 394.7 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.0003222/0.00572, allocations: 0.7132 MB / 410.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.00587, allocations: 48.06 kB / 410.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.005872, allocations: 0 / 410.9 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.005913, allocations: 31.91 kB / 410.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.006061, allocations: 7.875 kB / 410.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.006406, allocations: 167.2 kB / 411.1 MB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.069e-05/0.006447, allocations: 63.34 kB / 411.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.88e-05/0.006476, allocations: 8.062 kB / 411.1 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.006511, allocations: 12.48 kB / 411.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006512, allocations: 0 / 411.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.01979, allocations: 2.163 MB / 413.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.124, allocations: 8 kB / 413.3 MB, free: 11.36 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.15292318444699]