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.0009448/0.0009448, allocations: 80.48 kB / 19.92 MB, free: 4.621 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.0009903/0.0009903, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.873/0.873, allocations: 158.6 MB / 185 MB, free: 3.035 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.1261/0.1261, allocations: 32.37 MB / 269.6 MB, free: 15.05 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 2.014e-06/2.014e-06, allocations: 3.984 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.476e-05, allocations: 2.281 kB / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0009724/0.0009872, allocations: 0.5491 MB / 407.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001529/0.00114, allocations: 67.7 kB / 407.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.001157, allocations: 0 / 407.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.428e-06/0.001167, allocations: 0 / 407.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.001315, allocations: 19.91 kB / 407.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.081e-05/0.001326, allocations: 4 kB / 407.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.214e-05/0.001358, allocations: 3.938 kB / 407.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.755e-05/0.001386, allocations: 4 kB / 407.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.001405, allocations: 4 kB / 407.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.001438, allocations: 4 kB / 407.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.001446, allocations: 0 / 407.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.001498, allocations: 23.97 kB / 407.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.001507, allocations: 4 kB / 407.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.038e-05/0.001518, allocations: 0 / 407.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.243e-05/0.00158, allocations: 27.89 kB / 407.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.001582, allocations: 0 / 407.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.001582, allocations: 0 / 407.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.001586, allocations: 0 / 407.6 MB, free: 12.79 MB / 346.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.0001794/0.001765, allocations: 242.4 kB / 407.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.001795, allocations: 16.02 kB / 407.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.071e-05/0.001816, allocations: 30.75 kB / 407.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.571e-05/0.001832, allocations: 4.891 kB / 407.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.802e-05/0.00189, allocations: 113.7 kB / 408 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.001897, allocations: 384 / 408 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.001912, allocations: 8.297 kB / 408 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.958e-05/0.001971, allocations: 38.25 kB / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.001979, allocations: 192 / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.001985, allocations: 384 / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.00199, allocations: 8.125 kB / 408 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.002012, allocations: 4 kB / 408 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.259e-05/0.002105, allocations: 124.8 kB / 408.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.002236, allocations: 34.52 kB / 408.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.002254, allocations: 16.94 kB / 408.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.002438, allocations: 31.95 kB / 408.2 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.002452, allocations: 34.56 kB / 408.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.002453, allocations: 0 / 408.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006227/0.003076, allocations: 189.3 kB / 408.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.0031, allocations: 55.39 kB / 408.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.003139, allocations: 93.86 kB / 408.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.003149, allocations: 25.7 kB / 408.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.736e-05/0.003166, allocations: 84.14 kB / 408.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.003183, allocations: 11.84 kB / 408.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.00321, allocations: 21.7 kB / 408.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.003277, allocations: 314.8 kB / 409.1 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.507e-05/0.003322, allocations: 24.05 kB / 409.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.003361, allocations: 19.98 kB / 409.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.00344, allocations: 48.95 kB / 409.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.003442, allocations: 4 kB / 409.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001043/0.003547, allocations: 73.66 kB / 409.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.003556, allocations: 8 kB / 409.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.003559, allocations: 4 kB / 409.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.003569, allocations: 3.938 kB / 409.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.003628, allocations: 15.98 kB / 409.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.003631, allocations: 0 / 409.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.003668, allocations: 11.98 kB / 409.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.003673, allocations: 0 / 409.3 MB, free: 10.91 MB / 346.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 4.434e-05/0.003717, allocations: 109.8 kB / 409.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-06/0.003723, allocations: 3.953 kB / 409.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.003866, allocations: 93.23 kB / 409.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.003869, allocations: 3.938 kB / 409.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.003872, allocations: 4 kB / 409.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.003874, allocations: 0 / 409.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.004227, allocations: 326.3 kB / 409.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.00423, allocations: 8.031 kB / 409.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.004271, allocations: 11.98 kB / 409.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.004273, allocations: 0 / 409.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.00428, allocations: 8.266 kB / 409.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.004282, allocations: 0 / 409.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004282, allocations: 0 / 409.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.004405, allocations: 180.4 kB / 410 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.004411, allocations: 7.984 kB / 410 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.004421, allocations: 8 kB / 410 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.004466, allocations: 11.98 kB / 410 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.004476, allocations: 0 / 410 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.00448, allocations: 4 kB / 410 MB, free: 10.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.858e-05/0.004499, allocations: 79.27 kB / 410.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004499, allocations: 0 / 410.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.004644, allocations: 12 kB / 410.1 MB, free: 9.969 MB / 346.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.0002989/0.004943, allocations: 0.7131 MB / 410.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.005057, allocations: 52.05 kB / 410.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.005058, allocations: 0 / 410.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.005096, allocations: 23.92 kB / 410.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.00524, allocations: 10.59 kB / 410.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.005545, allocations: 163.4 kB / 411.1 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.005578, allocations: 55.36 kB / 411.1 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.005606, allocations: 12.05 kB / 411.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.005636, allocations: 12.5 kB / 411.2 MB, free: 8.844 MB / 346.7 MB Notification: Performance of SimCode: time 7.02e-07/0.005636, allocations: 0 / 411.2 MB, free: 8.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.01934, allocations: 2.157 MB / 413.3 MB, free: 6.672 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.006, allocations: 1.094 kB / 413.3 MB, free: 6.672 MB / 346.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.006277940236032]