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.001805/0.001805, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002269/0.002269, allocations: 213 kB / 23.73 MB, free: 4.16 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2195/0.2195, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.002154/0.002154, allocations: 67.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3217, 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.001704/0.3234, allocations: 0.5228 MB / 0.5611 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.3238, allocations: 151.5 kB / 0.5612 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.3239, allocations: 4 kB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.3239, allocations: 3.938 kB / 0.5612 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.3241, allocations: 31.84 kB / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.677e-06/0.3241, allocations: 0 / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.3242, allocations: 23.86 kB / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3242, allocations: 7.984 kB / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.3243, allocations: 11.92 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.3243, allocations: 19.92 kB / 0.5613 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3243, allocations: 0 / 0.5613 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3244, allocations: 43.95 kB / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.3244, allocations: 7.922 kB / 0.5614 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.3245, allocations: 11.94 kB / 0.5614 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.3246, allocations: 45.64 kB / 0.5614 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3246, allocations: 0 / 0.5614 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3246, allocations: 0 / 0.5614 GB, free: 3.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3246, allocations: 3.938 kB / 0.5614 GB, free: 3.344 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.0002989/0.3249, allocations: 262.2 kB / 0.5617 GB, free: 3.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3249, allocations: 8.031 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.325, allocations: 42.75 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.325, allocations: 0.9375 kB / 0.5617 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3251, allocations: 110.5 kB / 0.5619 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3251, allocations: 8.312 kB / 0.5619 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3251, allocations: 4.375 kB / 0.5619 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3253, allocations: 54.25 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3253, allocations: 7.875 kB / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.3253, allocations: 0 / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3253, allocations: 0 / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3254, allocations: 51.95 kB / 0.562 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3256, allocations: 152.6 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3258, allocations: 78.55 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.3258, allocations: 24.86 kB / 0.5622 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.3261, allocations: 23.97 kB / 0.5622 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3261, allocations: 30.56 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3261, allocations: 0 / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002473/0.3263, allocations: 105.8 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.3264, allocations: 55.41 kB / 0.5624 GB, free: 2.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.3265, allocations: 97.86 kB / 0.5625 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3265, allocations: 25.7 kB / 0.5625 GB, free: 2.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.3265, allocations: 88.08 kB / 0.5626 GB, free: 1.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.3266, allocations: 36.06 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.3266, allocations: 21.72 kB / 0.5627 GB, free: 1.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3267, allocations: 318.8 kB / 0.563 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.3268, allocations: 12 kB / 0.563 GB, free: 1.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.3268, allocations: 27.92 kB / 0.563 GB, free: 1.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.3269, allocations: 44.86 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3269, allocations: 0 / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001335/0.327, allocations: 93.56 kB / 0.5632 GB, free: 1.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.327, allocations: 12.06 kB / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.327, allocations: 0 / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3271, allocations: 0 / 0.5632 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3272, allocations: 23.94 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3272, allocations: 0 / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.3272, allocations: 0 / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3272, allocations: 7.984 kB / 0.5632 GB, free: 1.355 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.813e-05/0.3273, allocations: 109.8 kB / 0.5633 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.3273, allocations: 11.89 kB / 0.5633 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.3275, allocations: 97.52 kB / 0.5634 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3275, allocations: 8 kB / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3275, allocations: 384 / 0.5634 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3275, allocations: 3.938 kB / 0.5634 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3277, allocations: 140.7 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3277, allocations: 0 / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/0.3277, allocations: 19.92 kB / 0.5636 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3277, allocations: 3.938 kB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.3278, allocations: 8 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3278, allocations: 0 / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3278, allocations: 0 / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3279, allocations: 109 kB / 0.5637 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.3279, allocations: 11.97 kB / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3279, allocations: 11.94 kB / 0.5637 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.328, allocations: 0 / 0.5637 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.328, allocations: 7.984 kB / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.328, allocations: 0 / 0.5637 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.328, allocations: 79.22 kB / 0.5638 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.328, allocations: 0 / 0.5638 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.3282, allocations: 16 kB / 0.5638 GB, free: 0.6484 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.0005126/0.3287, allocations: 0.6631 MB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.3289, allocations: 51.92 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3289, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.3289, allocations: 28.36 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.0001725/0.3291, allocations: 6.719 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.3295, allocations: 178.5 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.628e-05/0.3296, allocations: 67.34 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.003e-05/0.3296, allocations: 15.78 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.3297, allocations: 11.44 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3297, allocations: 0 / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3578, allocations: 2.056 MB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.3, allocations: 7.188 kB / 0.5668 GB, free: 13.61 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: 14.4083108487539]