Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008592/0.0008592, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000916/0.000916, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8775/0.8775, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.443e-05, allocations: 2.281 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009203/0.0009347, allocations: 0.4883 MB / 442.6 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1761/0.177, allocations: 1.344 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.177, allocations: 0 / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.1771, allocations: 0 / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.1771, allocations: 8.094 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.1776, allocations: 220.9 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.1777, allocations: 11.69 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.1777, allocations: 2.625 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.1777, allocations: 5.469 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.1778, allocations: 5.875 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1778, allocations: 1.422 kB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.1781, allocations: 261.5 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1781, allocations: 0.5469 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.1781, allocations: 6.906 kB / 444.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1783, allocations: 194.9 kB / 444.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1784, allocations: 0 / 444.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1784, allocations: 0 / 444.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1784, allocations: 0 / 444.7 MB, free: 43.24 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.0003481/0.1787, allocations: 270 kB / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1788, allocations: 15 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.1788, allocations: 30.75 kB / 445 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.1788, allocations: 0.9375 kB / 445 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.933e-05/0.1789, allocations: 107.9 kB / 445.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.1789, allocations: 384 / 445.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1789, allocations: 3.281 kB / 445.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.179, allocations: 59.12 kB / 445.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.179, allocations: 3 kB / 445.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.179, allocations: 7.312 kB / 445.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.179, allocations: 0 / 445.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.1791, allocations: 3.094 kB / 445.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.606e-05/0.1791, allocations: 119.1 kB / 445.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.047e-05/0.1792, allocations: 20.92 kB / 445.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.1792, allocations: 7.859 kB / 445.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.1792, allocations: 0 / 445.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.1792, allocations: 33.47 kB / 445.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1792, allocations: 3.406 kB / 445.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001228/0.1794, allocations: 40.98 kB / 445.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.1794, allocations: 51.41 kB / 445.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.1794, allocations: 95.77 kB / 445.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.1794, allocations: 28.27 kB / 445.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.396e-05/0.1794, allocations: 83.27 kB / 445.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1795, allocations: 4.75 kB / 445.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.1795, allocations: 15.91 kB / 445.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.543e-05/0.1795, allocations: 318 kB / 446 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.1795, allocations: 4 kB / 446 MB, free: 41.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.1795, allocations: 0 / 446 MB, free: 41.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.1796, allocations: 14.58 kB / 446 MB, free: 41.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1796, allocations: 0 / 446 MB, free: 41.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.954e-05/0.1796, allocations: 42.52 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1796, allocations: 5.625 kB / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1796, allocations: 0 / 446 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1796, allocations: 3.938 kB / 446 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.675e-05/0.1797, allocations: 6.656 kB / 446 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1797, allocations: 0 / 446 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-06/0.1797, allocations: 3.375 kB / 446 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1797, allocations: 2.75 kB / 446 MB, free: 41.83 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 (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 3.168e-05/0.1798, allocations: 107.2 kB / 446.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-06/0.1798, allocations: 6.234 kB / 446.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.1798, allocations: 46.38 kB / 446.2 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1798, allocations: 7.969 kB / 446.2 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1799, allocations: 4.078 kB / 446.2 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1799, allocations: 0 / 446.2 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.593e-05/0.1799, allocations: 115.4 kB / 446.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1799, allocations: 2.469 kB / 446.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1799, allocations: 0 / 446.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1799, allocations: 0 / 446.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1799, allocations: 3.141 kB / 446.3 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1799, allocations: 5.812 kB / 446.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1799, allocations: 2.906 kB / 446.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.652e-05/0.18, allocations: 62.92 kB / 446.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.18, allocations: 0 / 446.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.18, allocations: 3.047 kB / 446.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.18, allocations: 7.812 kB / 446.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.1801, allocations: 8.625 kB / 446.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1801, allocations: 0 / 446.4 MB, free: 41.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.755e-05/0.1801, allocations: 80.66 kB / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1801, allocations: 0 / 446.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.1802, allocations: 41.56 kB / 446.5 MB, free: 41.36 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.0002649/0.1805, allocations: 0.6393 MB / 447.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.217e-05/0.1805, allocations: 2.781 kB / 447.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1805, allocations: 3.938 kB / 447.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.785e-05/0.1806, allocations: 28.73 kB / 447.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.1807, allocations: 6.625 kB / 447.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.181, allocations: 127.3 kB / 447.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.504e-05/0.181, allocations: 57.98 kB / 447.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.514e-05/0.181, allocations: 9.234 kB / 447.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.181, allocations: 10.5 kB / 447.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.181, allocations: 0 / 447.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.1945, allocations: 2.503 MB / 449.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/6.948, allocations: 2.531 kB / 449.9 MB, free: 39.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.989279041066766]