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.0008365/0.0008365, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008893/0.0008893, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9198/0.9198, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2907/0.2907, allocations: 34.24 MB / 294.9 MB, free: 0.7148 MB / 266.7 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 1.543e-06/1.543e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.823e-05, allocations: 3.688 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0009497/0.0009679, allocations: 0.4894 MB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002533/0.001221, allocations: 91.72 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.001245, allocations: 4 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.001261, allocations: 3.938 kB / 442.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.00147, allocations: 15.92 kB / 442.8 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.497e-05/0.001485, allocations: 7.922 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.98e-05/0.001535, allocations: 15.92 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.001573, allocations: 0 / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.0016, allocations: 4 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.001646, allocations: 0 / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.00166, allocations: 0 / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.156e-05/0.001732, allocations: 23.97 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.001743, allocations: 0 / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.001757, allocations: 3.938 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.492e-05/0.001842, allocations: 27.95 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.001844, allocations: 0 / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.001845, allocations: 0 / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.001848, allocations: 0 / 442.8 MB, free: 0.9766 MB / 410.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.0002388/0.002087, allocations: 246.4 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.002124, allocations: 8.031 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.002151, allocations: 34.73 kB / 443.1 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.002173, allocations: 4.938 kB / 443.1 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.912e-05/0.002242, allocations: 109.7 kB / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.00225, allocations: 384 / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.002269, allocations: 4.375 kB / 443.2 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.854e-05/0.002347, allocations: 42.25 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.002358, allocations: 4.125 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.002366, allocations: 384 / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.002371, allocations: 4.125 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.002402, allocations: 7.938 kB / 443.3 MB, free: 460 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.002516, allocations: 124.8 kB / 443.4 MB, free: 292 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.00268, allocations: 30.58 kB / 443.4 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.0027, allocations: 12.94 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.002904, allocations: 43.95 kB / 443.5 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.002921, allocations: 34.5 kB / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.002922, allocations: 0 / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.1845/0.1874, allocations: 184.5 kB / 443.7 MB, free: 44.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1875, allocations: 55.03 kB / 443.8 MB, free: 44.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.1875, allocations: 94.95 kB / 443.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.1875, allocations: 26.45 kB / 443.9 MB, free: 44.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.041e-05/0.1875, allocations: 80.14 kB / 444 MB, free: 44.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.1876, allocations: 23.45 kB / 444 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.1876, allocations: 15.59 kB / 444 MB, free: 44.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.417e-05/0.1876, allocations: 315.2 kB / 444.3 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.1877, allocations: 17.91 kB / 444.3 MB, free: 43.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.1877, allocations: 19.33 kB / 444.4 MB, free: 43.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.1878, allocations: 49.55 kB / 444.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1878, allocations: 5.031 kB / 444.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001139/0.1879, allocations: 72.05 kB / 444.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1879, allocations: 5.312 kB / 444.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1879, allocations: 5.859 kB / 444.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.188, allocations: 6.75 kB / 444.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.188, allocations: 15.2 kB / 444.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1881, allocations: 3.469 kB / 444.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.1881, allocations: 3.5 kB / 444.5 MB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1881, allocations: 3.469 kB / 444.5 MB, free: 43.7 MB / 410.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.307e-05/0.1881, allocations: 118.4 kB / 444.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.1881, allocations: 1.016 kB / 444.6 MB, free: 43.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.1883, allocations: 97.22 kB / 444.7 MB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1883, allocations: 0 / 444.7 MB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1883, allocations: 0 / 444.7 MB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1883, allocations: 3.188 kB / 444.7 MB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.1887, allocations: 324.7 kB / 445 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.1887, allocations: 2.812 kB / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.1887, allocations: 12.83 kB / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1887, allocations: 0 / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1888, allocations: 9.875 kB / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1888, allocations: 0 / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1888, allocations: 3.328 kB / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.1889, allocations: 179.2 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.1889, allocations: 2.844 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1889, allocations: 2.812 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.632e-05/0.1889, allocations: 9.031 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.1889, allocations: 8.5 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1889, allocations: 5.688 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.019e-05/0.189, allocations: 79.03 kB / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.189, allocations: 0 / 445.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.1891, allocations: 11.69 kB / 445.4 MB, free: 43.07 MB / 410.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.0002375/0.1894, allocations: 0.7078 MB / 446.1 MB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1895, allocations: 52.03 kB / 446.1 MB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1895, allocations: 1.844 kB / 446.1 MB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.1895, allocations: 21.28 kB / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.1897, allocations: 6.906 kB / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.19, allocations: 173.3 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.1901, allocations: 58.75 kB / 446.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.1901, allocations: 13.28 kB / 446.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.1901, allocations: 13.75 kB / 446.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1901, allocations: 0 / 446.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.2045, allocations: 2.152 MB / 448.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.504, allocations: 11.5 kB / 448.6 MB, free: 41.31 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/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: 9.697904084809124]