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.0008798/0.0008798, allocations: 76.45 kB / 19.92 MB, free: 4.613 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.0008463/0.0008463, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.8462/0.8462, allocations: 158.6 MB / 185 MB, free: 3.035 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.1337/0.1337, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.623e-06/1.623e-06, allocations: 0 / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.551e-05, allocations: 10.02 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.000988/0.001003, allocations: 0.5026 MB / 407.3 MB, free: 1.754 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.002324, allocations: 1.345 MB / 408.7 MB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.002346, allocations: 0 / 408.7 MB, free: 396 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.002365, allocations: 7.938 kB / 408.7 MB, free: 388 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.322e-05/0.002388, allocations: 0 / 408.7 MB, free: 388 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.002912, allocations: 216 kB / 408.9 MB, free: 172 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.002962, allocations: 15.91 kB / 408.9 MB, free: 156 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.003002, allocations: 4 kB / 408.9 MB, free: 152 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.67e-05/0.003029, allocations: 4 kB / 408.9 MB, free: 148 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.003078, allocations: 0 / 408.9 MB, free: 148 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003091, allocations: 4 kB / 408.9 MB, free: 144 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.0034, allocations: 255.6 kB / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.003413, allocations: 7.984 kB / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.003427, allocations: 4 kB / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.003627, allocations: 191.6 kB / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003629, allocations: 0 / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.00363, allocations: 3.938 kB / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.003634, allocations: 0 / 409.4 MB, free: 15.69 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.0002592/0.003894, allocations: 258.2 kB / 409.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.00393, allocations: 19.95 kB / 409.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.003957, allocations: 34.75 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.003981, allocations: 0.9375 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.779e-05/0.004039, allocations: 101.8 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.004047, allocations: 4.375 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.004054, allocations: 4.375 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.004162, allocations: 67.89 kB / 409.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.004172, allocations: 192 / 409.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.004183, allocations: 8.125 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.00419, allocations: 0 / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.004215, allocations: 4 kB / 409.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.004518, allocations: 216 kB / 410.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.00456, allocations: 22.52 kB / 410.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.004575, allocations: 4.859 kB / 410.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.004584, allocations: 0 / 410.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.004606, allocations: 38.5 kB / 410.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.004607, allocations: 0 / 410.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.004732, allocations: 37.77 kB / 410.2 MB, free: 14.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.004758, allocations: 51.41 kB / 410.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.558e-05/0.004814, allocations: 97.84 kB / 410.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.004824, allocations: 25.7 kB / 410.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.004858, allocations: 84.09 kB / 410.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.004866, allocations: 11.89 kB / 410.4 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.004891, allocations: 13.72 kB / 410.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.004975, allocations: 315.1 kB / 410.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.004986, allocations: 7.984 kB / 410.8 MB, free: 14.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.005007, allocations: 26.52 kB / 410.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.005039, allocations: 22.58 kB / 410.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.00504, allocations: 0 / 410.8 MB, free: 14.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.01e-05/0.00509, allocations: 53.66 kB / 410.9 MB, free: 13.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.005105, allocations: 8 kB / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.00511, allocations: 4.094 kB / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005122, allocations: 7.922 kB / 410.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.471e-05/0.005166, allocations: 7.938 kB / 410.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.005172, allocations: 4 kB / 410.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.005184, allocations: 0 / 410.9 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.00519, allocations: 0 / 410.9 MB, free: 13.94 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 5.396e-05/0.005244, allocations: 117.8 kB / 411 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.005256, allocations: 3.938 kB / 411 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.00534, allocations: 44.86 kB / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.005342, allocations: 0 / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.005347, allocations: 0 / 411.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.00535, allocations: 7.938 kB / 411.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.253e-05/0.005443, allocations: 128.7 kB / 411.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.005445, allocations: 0 / 411.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.005446, allocations: 4 kB / 411.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005447, allocations: 0 / 411.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.005452, allocations: 3.938 kB / 411.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005453, allocations: 0 / 411.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.005454, allocations: 0 / 411.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.032e-05/0.005514, allocations: 139.5 kB / 411.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.005521, allocations: 4 kB / 411.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.005529, allocations: 0 / 411.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.005564, allocations: 4 kB / 411.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.005575, allocations: 0 / 411.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.00558, allocations: 4 kB / 411.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.424e-05/0.005604, allocations: 79.27 kB / 411.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005604, allocations: 0 / 411.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.005817, allocations: 39.94 kB / 411.5 MB, free: 13.3 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.0003551/0.006172, allocations: 0.7124 MB / 412.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.229e-05/0.006234, allocations: 11.98 kB / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006236, allocations: 0 / 412.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.006261, allocations: 33.64 kB / 412.2 MB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.006402, allocations: 0 / 412.2 MB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.006685, allocations: 134.4 kB / 412.4 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.006724, allocations: 59.3 kB / 412.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.899e-05/0.006743, allocations: 4.281 kB / 412.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.006764, allocations: 16.48 kB / 412.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006765, allocations: 0 / 412.4 MB, free: 12.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.02008, allocations: 2.497 MB / 414.9 MB, free: 9.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.149/7.169, allocations: 4.062 kB / 414.9 MB, free: 9.723 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.209486478939652]