Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001017/0.001017, allocations: 75.7 kB / 20.01 MB, free: 4.508 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.001186/0.001186, allocations: 173.9 kB / 23.31 MB, free: 1.207 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.8671/0.8671, allocations: 158.6 MB / 185.1 MB, free: 3.012 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.1289/0.1289, allocations: 32.36 MB / 269.7 MB, free: 14.92 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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 407 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.715e-05, allocations: 6.078 kB / 407 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001871/0.001898, allocations: 0.5027 MB / 407.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003236, allocations: 1.345 MB / 408.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.003266, allocations: 0 / 408.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.003282, allocations: 3.938 kB / 408.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.753e-05/0.003309, allocations: 0 / 408.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.003854, allocations: 220 kB / 409.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.523e-05/0.0039, allocations: 7.984 kB / 409.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.003937, allocations: 0 / 409.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.003967, allocations: 7.984 kB / 409.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.004014, allocations: 0 / 409.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.004029, allocations: 4 kB / 409.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.004343, allocations: 263.5 kB / 409.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.004358, allocations: 3.984 kB / 409.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.004377, allocations: 0 / 409.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.00458, allocations: 191.6 kB / 409.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.004584, allocations: 0 / 409.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.004585, allocations: 4 kB / 409.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.00459, allocations: 0 / 409.6 MB, free: 10.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002773/0.004867, allocations: 266.2 kB / 409.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.004909, allocations: 16.02 kB / 409.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.523e-05/0.004935, allocations: 30.75 kB / 409.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.004958, allocations: 0.9375 kB / 409.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.575e-05/0.005034, allocations: 101.8 kB / 410 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.005045, allocations: 384 / 410 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.005053, allocations: 4.375 kB / 410 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.005165, allocations: 63.91 kB / 410 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005172, allocations: 192 / 410.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005182, allocations: 8.125 kB / 410.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.005186, allocations: 0 / 410.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.005204, allocations: 3.984 kB / 410.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.927e-05/0.005304, allocations: 116.8 kB / 410.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.877e-05/0.005343, allocations: 22.55 kB / 410.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.005359, allocations: 8.859 kB / 410.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.005367, allocations: 0 / 410.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.005389, allocations: 38.56 kB / 410.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.00539, allocations: 0 / 410.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.005501, allocations: 41.62 kB / 410.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.005528, allocations: 55.41 kB / 410.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.005579, allocations: 89.86 kB / 410.4 MB, free: 9.859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.00559, allocations: 29.7 kB / 410.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.186e-05/0.005612, allocations: 84.14 kB / 410.5 MB, free: 9.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.005634, allocations: 3.953 kB / 410.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.005654, allocations: 9.719 kB / 410.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.005726, allocations: 318.8 kB / 410.9 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.005735, allocations: 0 / 410.9 MB, free: 9.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.005742, allocations: 4.25 kB / 410.9 MB, free: 9.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/0.005767, allocations: 16.8 kB / 410.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005768, allocations: 0 / 410.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.305e-05/0.005811, allocations: 33.7 kB / 410.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.005826, allocations: 6.656 kB / 410.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.00583, allocations: 0 / 410.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.005843, allocations: 7.922 kB / 410.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.005908, allocations: 4 kB / 410.9 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.005912, allocations: 0 / 410.9 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-06/0.005921, allocations: 0 / 410.9 MB, free: 9.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.005927, allocations: 4.094 kB / 410.9 MB, free: 9.316 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 (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.447e-05/0.005981, allocations: 109.8 kB / 411 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-06/0.005986, allocations: 0 / 411 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.942e-05/0.006085, allocations: 52.78 kB / 411.1 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.006088, allocations: 3.938 kB / 411.1 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.006092, allocations: 0 / 411.1 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.006094, allocations: 4 kB / 411.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.692e-05/0.006151, allocations: 120.8 kB / 411.2 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.006156, allocations: 7.984 kB / 411.2 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.006156, allocations: 0 / 411.2 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006158, allocations: 0 / 411.2 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.006164, allocations: 0 / 411.2 MB, free: 8.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006166, allocations: 7.875 kB / 411.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006166, allocations: 0 / 411.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.761e-05/0.006214, allocations: 61.08 kB / 411.3 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.006219, allocations: 4 kB / 411.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.006229, allocations: 3.984 kB / 411.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.00629, allocations: 7.969 kB / 411.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.006305, allocations: 4 kB / 411.3 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.006309, allocations: 0 / 411.3 MB, free: 8.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.023e-05/0.006329, allocations: 75.28 kB / 411.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00633, allocations: 0 / 411.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.006503, allocations: 47.92 kB / 411.4 MB, free: 8.738 MB / 346.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.000355/0.006858, allocations: 0.6398 MB / 412.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.44e-05/0.006932, allocations: 8.062 kB / 412.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.006934, allocations: 4.062 kB / 412.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.00696, allocations: 33.7 kB / 412.1 MB, free: 8.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.007074, allocations: 7.875 kB / 412.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.007357, allocations: 122.6 kB / 412.2 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.007389, allocations: 55.34 kB / 412.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.706e-05/0.007406, allocations: 4 kB / 412.3 MB, free: 7.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.007431, allocations: 12.5 kB / 412.3 MB, free: 7.762 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007432, allocations: 0 / 412.3 MB, free: 7.762 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.02447, allocations: 2.495 MB / 414.8 MB, free: 5.258 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/6.906, allocations: 5.219 kB / 414.8 MB, free: 5.254 MB / 346.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.940194358117878]