Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.00083/0.00083, allocations: 79.69 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.0008712/0.0008712, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9068/0.9068, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2371/0.2371, allocations: 32.8 MB / 293.5 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 3.938 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.961e-05, allocations: 7.062 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009923/0.001012, allocations: 0.4995 MB / 440.1 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.002389, allocations: 1.35 MB / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.002412, allocations: 0 / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.002428, allocations: 0 / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.875e-05/0.002456, allocations: 4 kB / 441.4 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.002991, allocations: 225.1 kB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.003041, allocations: 11.92 kB / 441.6 MB, free: 2.176 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.003083, allocations: 7.984 kB / 441.7 MB, free: 2.168 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.003113, allocations: 4 kB / 441.7 MB, free: 2.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.003164, allocations: 7.984 kB / 441.7 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.003178, allocations: 0 / 441.7 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.003491, allocations: 255.6 kB / 441.9 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.003505, allocations: 3.984 kB / 441.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.003522, allocations: 8 kB / 441.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.003723, allocations: 187.5 kB / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003725, allocations: 7.984 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003726, allocations: 0 / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.00373, allocations: 0 / 442.1 MB, free: 1.703 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002976/0.004028, allocations: 266.2 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.004067, allocations: 8.031 kB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.004098, allocations: 30.75 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.004125, allocations: 4.938 kB / 442.4 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.004208, allocations: 105.8 kB / 442.5 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.00422, allocations: 8.312 kB / 442.5 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.004228, allocations: 384 / 442.5 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.004325, allocations: 55.97 kB / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004332, allocations: 192 / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004343, allocations: 12.05 kB / 442.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004348, allocations: 0 / 442.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.004372, allocations: 4 kB / 442.6 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.004481, allocations: 116.8 kB / 442.7 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.802e-05/0.004519, allocations: 22.58 kB / 442.7 MB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.004538, allocations: 12.86 kB / 442.7 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.004546, allocations: 0 / 442.7 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.004569, allocations: 30.56 kB / 442.8 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.004569, allocations: 0 / 442.8 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.004689, allocations: 41.62 kB / 442.8 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.004719, allocations: 51.41 kB / 442.9 MB, free: 0.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.004777, allocations: 97.86 kB / 443 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.004785, allocations: 25.7 kB / 443 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.004806, allocations: 80.39 kB / 443.1 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.004827, allocations: 11.89 kB / 443.1 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.00485, allocations: 17.7 kB / 443.1 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.418e-05/0.004924, allocations: 314.8 kB / 443.4 MB, free: 228 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.004932, allocations: 3.938 kB / 443.4 MB, free: 224 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.004936, allocations: 7.938 kB / 443.4 MB, free: 216 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/0.004956, allocations: 8.859 kB / 443.4 MB, free: 204 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004958, allocations: 0 / 443.4 MB, free: 204 kB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.292e-05/0.004991, allocations: 29.7 kB / 443.5 MB, free: 168 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.005003, allocations: 11.98 kB / 443.5 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.005007, allocations: 4.094 kB / 443.5 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.005017, allocations: 3.938 kB / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.005074, allocations: 0 / 443.5 MB, free: 148 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.00508, allocations: 4 kB / 443.5 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-06/0.005089, allocations: 0 / 443.5 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.005095, allocations: 3.938 kB / 443.5 MB, free: 140 kB / 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 (1): * Single equations (assignments): 1 * 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.854e-05/0.005154, allocations: 113.8 kB / 443.6 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-06/0.005159, allocations: 4 kB / 443.6 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1663/0.1715, allocations: 43.89 kB / 443.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.1715, allocations: 3.75 kB / 443.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1715, allocations: 2.906 kB / 443.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1715, allocations: 0 / 443.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.239e-05/0.1715, allocations: 127.3 kB / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.1716, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.1716, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1716, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1716, allocations: 5.844 kB / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1716, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1716, allocations: 0 / 443.8 MB, free: 46.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.192e-05/0.1716, allocations: 64.38 kB / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.1716, allocations: 3.75 kB / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1716, allocations: 2.969 kB / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.1717, allocations: 0 / 443.8 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1717, allocations: 9.969 kB / 443.9 MB, free: 46.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1717, allocations: 0.5625 kB / 443.9 MB, free: 46.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.471e-05/0.1717, allocations: 78.75 kB / 443.9 MB, free: 46.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1717, allocations: 1.125 kB / 443.9 MB, free: 46.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.1719, allocations: 37.05 kB / 444 MB, free: 46.18 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.0002768/0.1722, allocations: 0.6462 MB / 444.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.227e-05/0.1723, allocations: 3.469 kB / 444.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1723, allocations: 2.484 kB / 444.6 MB, free: 45.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.1723, allocations: 35.59 kB / 444.7 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.1724, allocations: 1.406 kB / 444.7 MB, free: 45.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.1727, allocations: 127.8 kB / 444.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.175e-05/0.1727, allocations: 64.42 kB / 444.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.332e-05/0.1727, allocations: 0 / 444.8 MB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.1727, allocations: 11.38 kB / 444.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1727, allocations: 0 / 444.9 MB, free: 45.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.185, allocations: 2.504 MB / 447.4 MB, free: 44.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.285, allocations: 5.547 kB / 447.4 MB, free: 44.54 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_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_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.35146733559668]