Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.0007979/0.0007979, allocations: 75.7 kB / 20.01 MB, free: 4.504 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.0008028/0.0008028, allocations: 169.9 kB / 23.32 MB, free: 1.203 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.8302/0.8302, allocations: 158.6 MB / 185.1 MB, free: 3.008 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.134/0.134, allocations: 32.38 MB / 269.7 MB, free: 14.91 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.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 407 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.804e-05, allocations: 2.281 kB / 407 MB, free: 2.152 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001055/0.001073, allocations: 0.5134 MB / 407.5 MB, free: 1.645 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.002536, allocations: 1.345 MB / 408.9 MB, free: 284 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.002562, allocations: 3.938 kB / 408.9 MB, free: 280 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.002575, allocations: 0 / 408.9 MB, free: 280 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.002608, allocations: 3.938 kB / 408.9 MB, free: 276 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.003162, allocations: 211.9 kB / 409.1 MB, free: 64 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.572e-05/0.003208, allocations: 8 kB / 409.1 MB, free: 56 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.003244, allocations: 4 kB / 409.1 MB, free: 52 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.003273, allocations: 0 / 409.1 MB, free: 52 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.00332, allocations: 11.98 kB / 409.1 MB, free: 40 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.003334, allocations: 0 / 409.1 MB, free: 40 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.003668, allocations: 263.5 kB / 409.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.003681, allocations: 4 kB / 409.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.003698, allocations: 0 / 409.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.003904, allocations: 195.5 kB / 409.6 MB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003907, allocations: 4 kB / 409.6 MB, free: 15.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.003908, allocations: 0 / 409.6 MB, free: 15.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.003914, allocations: 0 / 409.6 MB, free: 15.58 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000316/0.00423, allocations: 262.2 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.004288, allocations: 12.03 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.004316, allocations: 30.75 kB / 409.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.004343, allocations: 4.938 kB / 409.9 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.618e-05/0.00441, allocations: 101.8 kB / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.004419, allocations: 384 / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.00443, allocations: 4.375 kB / 410 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.004547, allocations: 63.95 kB / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004555, allocations: 4.125 kB / 410.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004565, allocations: 4.125 kB / 410.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004571, allocations: 0 / 410.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.0046, allocations: 8 kB / 410.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.004895, allocations: 216.1 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.004935, allocations: 22.5 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.004949, allocations: 4.859 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.004958, allocations: 4.062 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.00498, allocations: 34.5 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.004982, allocations: 0 / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.005109, allocations: 45.62 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.005137, allocations: 51.41 kB / 410.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/0.005197, allocations: 97.98 kB / 410.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.005206, allocations: 25.7 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.005246, allocations: 88.09 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.005252, allocations: 7.891 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.005277, allocations: 17.7 kB / 410.7 MB, free: 14.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.005367, allocations: 314.8 kB / 411 MB, free: 14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.005376, allocations: 4 kB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.005398, allocations: 22.52 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.005426, allocations: 22.58 kB / 411 MB, free: 13.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005428, allocations: 8.125 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.528e-05/0.005484, allocations: 49.56 kB / 411.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.005496, allocations: 4 kB / 411.1 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.0055, allocations: 0 / 411.1 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.005511, allocations: 4 kB / 411.1 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.005559, allocations: 11.98 kB / 411.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.005564, allocations: 3.938 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.005578, allocations: 4 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.005584, allocations: 4 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 4.848e-05/0.005633, allocations: 109.9 kB / 411.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.005647, allocations: 7.938 kB / 411.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.972e-05/0.005737, allocations: 44.84 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.00574, allocations: 0 / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005743, allocations: 0 / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005746, allocations: 0 / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.134e-05/0.005838, allocations: 120.7 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.00584, allocations: 0 / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.02e-07/0.005841, allocations: 4.031 kB / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005842, allocations: 0 / 411.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.005849, allocations: 3.984 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.00585, allocations: 4 kB / 411.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005851, allocations: 3.938 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.383e-05/0.005915, allocations: 139.5 kB / 411.5 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.00592, allocations: 0 / 411.5 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.005928, allocations: 0 / 411.5 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.005964, allocations: 11.92 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.005976, allocations: 0 / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.005978, allocations: 4.031 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.325e-05/0.006002, allocations: 79.28 kB / 411.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006002, allocations: 0 / 411.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.006215, allocations: 35.94 kB / 411.7 MB, free: 13.2 MB / 394.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.0003685/0.006584, allocations: 0.7201 MB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.959e-05/0.006653, allocations: 8 kB / 412.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006655, allocations: 0 / 412.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.00668, allocations: 33.95 kB / 412.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.00683, allocations: 8 kB / 412.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.007137, allocations: 126.4 kB / 412.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.48e-05/0.007172, allocations: 59.34 kB / 412.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.508e-05/0.007197, allocations: 8.078 kB / 412.6 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.007218, allocations: 12.5 kB / 412.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.007219, allocations: 0 / 412.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.02183, allocations: 2.492 MB / 415.1 MB, free: 9.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.214, allocations: 3.281 kB / 415.1 MB, free: 9.621 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_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_Test02RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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: 9.225149706937373]