Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001313/0.001313, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001426/0.001426, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2168/0.2168, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 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.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.88 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2899, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001548/0.2914, allocations: 0.5188 MB / 0.5611 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.2918, allocations: 151.5 kB / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.2919, allocations: 0 / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.2919, allocations: 0 / 0.5612 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.2921, allocations: 31.84 kB / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.087e-06/0.2921, allocations: 0 / 0.5613 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.2922, allocations: 27.86 kB / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.2922, allocations: 4 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.2923, allocations: 19.91 kB / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.636e-05/0.2923, allocations: 15.92 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2924, allocations: 0 / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.2925, allocations: 51.89 kB / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.2925, allocations: 0 / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.2925, allocations: 11.92 kB / 0.5614 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.2926, allocations: 45.66 kB / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2926, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2926, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2926, allocations: 0 / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003272/0.293, allocations: 266.2 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.293, allocations: 12.03 kB / 0.5617 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.293, allocations: 46.69 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.2931, allocations: 0.9375 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2932, allocations: 106.5 kB / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2932, allocations: 384 / 0.5618 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.2932, allocations: 12.31 kB / 0.5619 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.2933, allocations: 58.23 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2934, allocations: 11.86 kB / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2934, allocations: 0 / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2934, allocations: 0 / 0.5619 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2935, allocations: 51.95 kB / 0.562 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.2937, allocations: 152.6 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.2938, allocations: 70.56 kB / 0.5622 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.2939, allocations: 29.06 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.2941, allocations: 31.91 kB / 0.5622 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2942, allocations: 34.56 kB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2942, allocations: 0 / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002435/0.2944, allocations: 105.5 kB / 0.5624 GB, free: 2.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2944, allocations: 51.41 kB / 0.5624 GB, free: 2.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.2945, allocations: 101.9 kB / 0.5625 GB, free: 2.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2945, allocations: 25.7 kB / 0.5626 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.2946, allocations: 80.14 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.2946, allocations: 35.69 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.2947, allocations: 21.72 kB / 0.5627 GB, free: 1.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2948, allocations: 318.8 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.2948, allocations: 12 kB / 0.563 GB, free: 1.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.2949, allocations: 20.36 kB / 0.563 GB, free: 1.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.295, allocations: 56.92 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.295, allocations: 0 / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001311/0.2951, allocations: 93.7 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2951, allocations: 7.938 kB / 0.5632 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2951, allocations: 3.984 kB / 0.5632 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2951, allocations: 0 / 0.5632 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.2952, allocations: 16 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2952, allocations: 0 / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.2953, allocations: 0 / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2953, allocations: 4 kB / 0.5632 GB, free: 1.359 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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 8.991e-05/0.2954, allocations: 109.8 kB / 0.5633 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.2954, allocations: 15.88 kB / 0.5633 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.2956, allocations: 105.5 kB / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2956, allocations: 0 / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2956, allocations: 0 / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2956, allocations: 0 / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.2957, allocations: 144.7 kB / 0.5635 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2957, allocations: 0 / 0.5635 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.2958, allocations: 15.94 kB / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.2958, allocations: 7.938 kB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2958, allocations: 0 / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2958, allocations: 3.984 kB / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2958, allocations: 4 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.2959, allocations: 121.1 kB / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.296, allocations: 4 kB / 0.5637 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.296, allocations: 3.938 kB / 0.5637 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/0.296, allocations: 4 kB / 0.5637 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.296, allocations: 7.984 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.296, allocations: 0 / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.802e-05/0.2961, allocations: 79.28 kB / 0.5638 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2961, allocations: 0 / 0.5638 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.2963, allocations: 19.98 kB / 0.5638 GB, free: 0.6445 MB / 398.1 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 (10): * Single equations (assignments): 10 * 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.0005222/0.2968, allocations: 0.6631 MB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.2969, allocations: 47.92 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2969, allocations: 4 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/0.297, allocations: 27.92 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.2971, allocations: 4 kB / 0.5645 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.2975, allocations: 167.2 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.236e-05/0.2976, allocations: 63.34 kB / 0.5648 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.2976, allocations: 15.77 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.2977, allocations: 19.42 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2977, allocations: 0 / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.3238, allocations: 2.095 MB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.74, allocations: 3.938 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable x2_a in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2_a from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3 in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3 from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3_a in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3_a from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x2err in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2err from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3err in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3err from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.638489157980075]