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.001839/0.001839, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002307/0.002307, allocations: 213.5 kB / 23.75 MB, free: 4.668 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2308/0.2308, allocations: 46.93 MB / 360.9 MB, free: 4.258 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.00196/0.00196, allocations: 63.91 kB / 0.4961 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 66.05 MB / 0.5606 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001623/0.3292, allocations: 0.5111 MB / 0.5611 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004624/0.3297, allocations: 167.5 kB / 0.5613 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.3297, allocations: 3.938 kB / 0.5613 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.3297, allocations: 3.938 kB / 0.5613 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.33, allocations: 39.83 kB / 0.5614 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.218e-06/0.33, allocations: 0 / 0.5614 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.582e-05/0.33, allocations: 19.92 kB / 0.5614 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.3301, allocations: 0 / 0.5614 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.3301, allocations: 15.92 kB / 0.5614 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.3301, allocations: 15.92 kB / 0.5614 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3302, allocations: 4 kB / 0.5614 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3303, allocations: 47.95 kB / 0.5615 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.3303, allocations: 11.92 kB / 0.5615 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.3303, allocations: 3.938 kB / 0.5615 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.3304, allocations: 49.58 kB / 0.5615 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3304, allocations: 0 / 0.5615 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3304, allocations: 3.938 kB / 0.5615 GB, free: 3.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3304, allocations: 0 / 0.5615 GB, free: 3.414 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.0003357/0.3308, allocations: 266.2 kB / 0.5618 GB, free: 3.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3308, allocations: 16.03 kB / 0.5618 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.3309, allocations: 38.73 kB / 0.5618 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.3309, allocations: 4.938 kB / 0.5618 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.331, allocations: 102.5 kB / 0.5619 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.331, allocations: 8.312 kB / 0.5619 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.331, allocations: 4.375 kB / 0.5619 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3312, allocations: 62.23 kB / 0.562 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3312, allocations: 3.938 kB / 0.562 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.3312, allocations: 0 / 0.562 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3312, allocations: 8 kB / 0.562 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3313, allocations: 51.95 kB / 0.5621 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.3315, allocations: 148.6 kB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.3316, allocations: 70.55 kB / 0.5623 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.3317, allocations: 28.84 kB / 0.5623 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.3319, allocations: 27.95 kB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3319, allocations: 38.56 kB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.3319, allocations: 0 / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002392/0.3322, allocations: 105.8 kB / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3322, allocations: 51.41 kB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.3323, allocations: 93.86 kB / 0.5626 GB, free: 2.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3323, allocations: 29.64 kB / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.3323, allocations: 84.52 kB / 0.5627 GB, free: 2.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.3324, allocations: 39.81 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3324, allocations: 21.72 kB / 0.5628 GB, free: 1.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3326, allocations: 318.8 kB / 0.5631 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.3326, allocations: 19.94 kB / 0.5631 GB, free: 1.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.3326, allocations: 19.92 kB / 0.5631 GB, free: 1.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.3327, allocations: 44.86 kB / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3327, allocations: 0 / 0.5632 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001266/0.3328, allocations: 93.56 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3328, allocations: 7.938 kB / 0.5632 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3328, allocations: 4 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3329, allocations: 0 / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.333, allocations: 19.94 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.333, allocations: 0 / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.333, allocations: 4 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.333, allocations: 7.984 kB / 0.5633 GB, free: 1.41 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 9.576e-05/0.3331, allocations: 113.8 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.3331, allocations: 11.89 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.3333, allocations: 97.52 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3333, allocations: 4.375 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3333, allocations: 0 / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3333, allocations: 0 / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.3335, allocations: 152.7 kB / 0.5636 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3335, allocations: 3.938 kB / 0.5636 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/0.3335, allocations: 16 kB / 0.5637 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3335, allocations: 3.938 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3335, allocations: 4 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3336, allocations: 3.984 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3336, allocations: 0 / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.3337, allocations: 117 kB / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.3337, allocations: 0 / 0.5638 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3337, allocations: 7.938 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.3338, allocations: 0 / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.3338, allocations: 7.984 kB / 0.5638 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.3338, allocations: 7.938 kB / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.3338, allocations: 79.28 kB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3338, allocations: 0 / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.334, allocations: 19.98 kB / 0.5639 GB, free: 0.6914 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.0005014/0.3345, allocations: 0.6591 MB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.3347, allocations: 48 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3347, allocations: 96 / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.3347, allocations: 32.36 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.3349, allocations: 8.125 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.3353, allocations: 174.5 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.3357, allocations: 0.6807 MB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.551e-05/0.3357, allocations: 11.77 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.3357, allocations: 19.44 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3357, allocations: 0 / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.3606, allocations: 1.688 MB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.74, allocations: 11.66 kB / 0.5672 GB, free: 13.39 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.870685489993775]