Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0009008/0.0009008, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.00134/0.00134, allocations: 174 kB / 23.95 MB, free: 0.6133 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.9512/0.9512, allocations: 177.1 MB / 204.2 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.2505/0.2505, allocations: 34.25 MB / 294.9 MB, free: 0.7344 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.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 442.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.34e-05, allocations: 2.844 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0009158/0.0009292, allocations: 0.4922 MB / 442.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.159/0.1599, allocations: 1.348 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.1599, allocations: 0 / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.16, allocations: 0 / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.437e-05/0.16, allocations: 0 / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.1605, allocations: 224.1 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.028e-05/0.1605, allocations: 7.141 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1606, allocations: 6 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.553e-05/0.1606, allocations: 4.438 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.1606, allocations: 7.312 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1606, allocations: 1 kB / 444.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.1609, allocations: 260.9 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1609, allocations: 6.844 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.1609, allocations: 5.844 kB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.1611, allocations: 192.9 kB / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1611, allocations: 0 / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1611, allocations: 0 / 444.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1611, allocations: 0 / 444.7 MB, free: 43.21 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.0002258/0.1613, allocations: 263.4 kB / 444.9 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1614, allocations: 11.62 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.282e-05/0.1614, allocations: 30.75 kB / 445 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.1614, allocations: 4.203 kB / 445 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.191e-05/0.1614, allocations: 116.1 kB / 445.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.1614, allocations: 384 / 445.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.1615, allocations: 2.219 kB / 445.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.1615, allocations: 66.27 kB / 445.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.1615, allocations: 3 kB / 445.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.1616, allocations: 4.672 kB / 445.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1616, allocations: 0 / 445.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.471e-05/0.1616, allocations: 16 kB / 445.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.1618, allocations: 200.9 kB / 445.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.025e-05/0.1618, allocations: 27.75 kB / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.078e-05/0.1618, allocations: 10.83 kB / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.1618, allocations: 0 / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.222e-05/0.1619, allocations: 33.19 kB / 445.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.1619, allocations: 0 / 445.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.993e-05/0.162, allocations: 35.02 kB / 445.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.513e-05/0.162, allocations: 54.28 kB / 445.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.261e-05/0.162, allocations: 100.1 kB / 445.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-06/0.162, allocations: 28.61 kB / 445.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.681e-05/0.162, allocations: 88.59 kB / 445.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/0.162, allocations: 5.094 kB / 445.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.1621, allocations: 16.45 kB / 445.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.111e-05/0.1621, allocations: 317.7 kB / 446.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-06/0.1621, allocations: 6.312 kB / 446.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.1621, allocations: 17.52 kB / 446.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.1621, allocations: 37.44 kB / 446.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1621, allocations: 0 / 446.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.459e-05/0.1622, allocations: 46.73 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1622, allocations: 5.281 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1622, allocations: 2.875 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1622, allocations: 3.375 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.838e-05/0.1622, allocations: 7.219 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1622, allocations: 3.203 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.053e-05/0.1622, allocations: 2.906 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1622, allocations: 4.094 kB / 446.2 MB, free: 41.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 2.825e-05/0.1623, allocations: 110.2 kB / 446.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.1623, allocations: 10.45 kB / 446.3 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.1624, allocations: 44.02 kB / 446.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1624, allocations: 0 / 446.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1624, allocations: 6.438 kB / 446.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1624, allocations: 0 / 446.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.998e-05/0.1624, allocations: 130.8 kB / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1624, allocations: 0 / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-07/0.1624, allocations: 0 / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.1624, allocations: 0 / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1624, allocations: 4.469 kB / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.1624, allocations: 0 / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1624, allocations: 0 / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.137e-05/0.1625, allocations: 131.8 kB / 446.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-06/0.1625, allocations: 2.969 kB / 446.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.1625, allocations: 3.938 kB / 446.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.1625, allocations: 3.094 kB / 446.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.1625, allocations: 9.406 kB / 446.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1625, allocations: 0 / 446.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.969e-06/0.1625, allocations: 77.78 kB / 446.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1625, allocations: 0 / 446.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.1627, allocations: 41.06 kB / 446.8 MB, free: 41.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002295/0.1629, allocations: 0.7094 MB / 447.5 MB, free: 40.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.288e-05/0.163, allocations: 18.05 kB / 447.5 MB, free: 40.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.163, allocations: 4.312 kB / 447.5 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.163, allocations: 28.8 kB / 447.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1631, allocations: 3.328 kB / 447.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.1634, allocations: 125.7 kB / 447.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.36e-05/0.1634, allocations: 59.98 kB / 447.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.65e-05/0.1634, allocations: 5.031 kB / 447.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.1634, allocations: 11.25 kB / 447.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1634, allocations: 0 / 447.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.1762, allocations: 2.517 MB / 450.3 MB, free: 39.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.494, allocations: 7.031 kB / 450.3 MB, free: 39.32 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_Test02RegFun3.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.622792418114841]