Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001237/0.001237, allocations: 111.1 kB / 20.44 MB, free: 1.34 MB / 14.72 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.0016/0.0016, allocations: 207 kB / 23.72 MB, free: 4.531 MB / 14.72 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 1.408/1.408, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.2195/0.2195, allocations: 46.95 MB / 360.8 MB, free: 3.922 MB / 286.1 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.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003748/0.003748, allocations: 80.09 kB / 0.4961 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.398, allocations: 66.09 MB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001599/0.3996, allocations: 0.5072 MB / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004224/0.4, allocations: 155.4 kB / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.4, allocations: 4 kB / 0.5613 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.4, allocations: 3.938 kB / 0.5613 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.4002, allocations: 39.84 kB / 0.5614 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.357e-06/0.4002, allocations: 0 / 0.5614 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.074e-05/0.4003, allocations: 19.92 kB / 0.5614 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.4003, allocations: 7.922 kB / 0.5614 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.4003, allocations: 7.984 kB / 0.5614 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.4004, allocations: 15.92 kB / 0.5614 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.4004, allocations: 4 kB / 0.5614 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.4005, allocations: 47.95 kB / 0.5615 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.4005, allocations: 15.86 kB / 0.5615 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.4005, allocations: 3.938 kB / 0.5615 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.4007, allocations: 49.92 kB / 0.5615 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4007, allocations: 0 / 0.5615 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4007, allocations: 0 / 0.5615 GB, free: 3.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.4007, allocations: 0 / 0.5615 GB, free: 3.305 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.0003169/0.401, allocations: 262.2 kB / 0.5618 GB, free: 3.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.401, allocations: 12.03 kB / 0.5618 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.4011, allocations: 34.75 kB / 0.5618 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.4011, allocations: 4.938 kB / 0.5618 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.4012, allocations: 110.5 kB / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4012, allocations: 12.38 kB / 0.5619 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4012, allocations: 4.375 kB / 0.5619 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.4013, allocations: 54.25 kB / 0.562 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4014, allocations: 3.938 kB / 0.562 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.4014, allocations: 0 / 0.562 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4014, allocations: 4 kB / 0.562 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.4015, allocations: 59.88 kB / 0.5621 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.4017, allocations: 136.7 kB / 0.5622 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.4018, allocations: 74.55 kB / 0.5623 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.4019, allocations: 24.8 kB / 0.5623 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.4021, allocations: 35.97 kB / 0.5623 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.4021, allocations: 30.84 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.4021, allocations: 3.938 kB / 0.5624 GB, free: 2.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000244/0.4024, allocations: 105.5 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.4024, allocations: 55.34 kB / 0.5625 GB, free: 2.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.4025, allocations: 93.86 kB / 0.5626 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.4025, allocations: 29.7 kB / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.4026, allocations: 80.14 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.4026, allocations: 43.8 kB / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.4026, allocations: 21.72 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4028, allocations: 318.8 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.505e-05/0.4028, allocations: 16 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.4029, allocations: 19.98 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.476e-05/0.4029, allocations: 52.8 kB / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4029, allocations: 0 / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001256/0.4031, allocations: 86.19 kB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4031, allocations: 14.53 kB / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4031, allocations: 3.938 kB / 0.5632 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4031, allocations: 4 kB / 0.5633 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.4032, allocations: 15.94 kB / 0.5633 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4032, allocations: 3.984 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.543e-05/0.4032, allocations: 4 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4032, allocations: 3.984 kB / 0.5633 GB, free: 1.309 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.374e-05/0.4033, allocations: 113.8 kB / 0.5634 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.4033, allocations: 7.891 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.4035, allocations: 101.5 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4035, allocations: 0 / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4035, allocations: 0 / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4035, allocations: 4 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.4037, allocations: 136.8 kB / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4037, allocations: 4 kB / 0.5636 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.4037, allocations: 19.98 kB / 0.5636 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4037, allocations: 3.938 kB / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4037, allocations: 0 / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4038, allocations: 3.938 kB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4038, allocations: 3.984 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.4039, allocations: 109.1 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.4039, allocations: 11.92 kB / 0.5638 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4039, allocations: 7.875 kB / 0.5638 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.404, allocations: 11.94 kB / 0.5638 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.404, allocations: 7.984 kB / 0.5638 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.404, allocations: 4 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.404, allocations: 75.28 kB / 0.5639 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.404, allocations: 0 / 0.5639 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.4042, allocations: 16 kB / 0.5639 GB, free: 0.5977 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.0005158/0.4047, allocations: 0.6631 MB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.4049, allocations: 55.91 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4049, allocations: 4.094 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.4049, allocations: 23.94 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.4051, allocations: 8 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.4055, allocations: 166.6 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.4056, allocations: 63.34 kB / 0.5648 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.504e-05/0.4056, allocations: 7.781 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.4057, allocations: 15.44 kB / 0.5649 GB, free: 15.51 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4057, allocations: 4 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.4316, allocations: 2.089 MB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.29, allocations: 10.22 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2_a from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3 in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3 from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3_a in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3_a from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x2err in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x2err from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! Error: Could not read variable x3err in file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv. Warning: Get data of variable x3err from file ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.297203397960402]