Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.0008577/0.0008577, allocations: 80.44 kB / 19.93 MB, free: 4.633 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.001242/0.001242, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8668/0.8668, allocations: 158.6 MB / 185 MB, free: 3.043 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.1328/0.1328, 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.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.591e-06/5.591e-06, allocations: 0 / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.928e-05/4.487e-05, allocations: 2.281 kB / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001317/0.001362, allocations: 0.5021 MB / 407.3 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.002886, allocations: 1.349 MB / 408.7 MB, free: 396 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.002914, allocations: 0 / 408.7 MB, free: 396 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.002931, allocations: 4 kB / 408.7 MB, free: 392 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.002958, allocations: 0 / 408.7 MB, free: 392 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.003537, allocations: 219.9 kB / 408.9 MB, free: 172 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.211e-05/0.003589, allocations: 11.92 kB / 408.9 MB, free: 160 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.003629, allocations: 0 / 408.9 MB, free: 160 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.947e-05/0.003658, allocations: 4 kB / 408.9 MB, free: 156 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.003702, allocations: 7.984 kB / 408.9 MB, free: 148 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.003716, allocations: 0 / 408.9 MB, free: 148 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.004031, allocations: 259.6 kB / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.004044, allocations: 0 / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.004058, allocations: 4 kB / 409.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.004257, allocations: 199.5 kB / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.00426, allocations: 0 / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004261, allocations: 0 / 409.4 MB, free: 15.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004265, 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002756/0.004541, allocations: 262.2 kB / 409.6 MB, free: 15.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.004577, allocations: 11.97 kB / 409.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.004603, allocations: 30.75 kB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.004626, allocations: 8.875 kB / 409.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.898e-05/0.004695, allocations: 101.8 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.004703, allocations: 384 / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.00471, allocations: 4.375 kB / 409.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.004806, allocations: 63.95 kB / 409.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004814, allocations: 4.172 kB / 409.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.004824, allocations: 8.125 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004828, allocations: 0 / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.004845, allocations: 0 / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.004947, allocations: 116.8 kB / 410 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.004982, allocations: 18.61 kB / 410 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.004995, allocations: 12.86 kB / 410 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.005003, allocations: 0 / 410 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.005022, allocations: 34.56 kB / 410 MB, free: 14.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 4.31e-07/0.005023, allocations: 0 / 410 MB, free: 14.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001103/0.005133, allocations: 41.62 kB / 410.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.005157, allocations: 51.41 kB / 410.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.307e-05/0.00521, allocations: 101.8 kB / 410.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.005219, allocations: 25.7 kB / 410.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.005367, allocations: 80.14 kB / 410.3 MB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.005389, allocations: 7.953 kB / 410.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.005412, allocations: 13.7 kB / 410.3 MB, free: 14.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.005481, allocations: 311.1 kB / 410.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.00549, allocations: 8 kB / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.005495, allocations: 0 / 410.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.059e-05/0.005516, allocations: 12.86 kB / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005517, allocations: 0 / 410.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.599e-05/0.005553, allocations: 33.7 kB / 410.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.005565, allocations: 11.92 kB / 410.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.00557, allocations: 4 kB / 410.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.005582, allocations: 7.875 kB / 410.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.768e-05/0.00564, allocations: 4.094 kB / 410.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005644, allocations: 4 kB / 410.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-06/0.005652, allocations: 0 / 410.7 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.005658, allocations: 0 / 410.7 MB, free: 14.12 MB / 394.7 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 (1): * Single equations (assignments): 1 * 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.28e-05/0.005711, allocations: 109.8 kB / 410.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-06/0.005715, allocations: 0 / 410.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.97e-05/0.005805, allocations: 44.84 kB / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.005807, allocations: 3.938 kB / 410.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.005811, allocations: 4.031 kB / 410.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.005813, allocations: 3.938 kB / 410.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.47e-05/0.005868, allocations: 120.8 kB / 411 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.005872, allocations: 4 kB / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.005873, allocations: 0 / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005875, allocations: 4 kB / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.00588, allocations: 0 / 411 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005881, allocations: 3.938 kB / 411 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005882, allocations: 0 / 411 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.098e-05/0.005923, allocations: 57.08 kB / 411.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-06/0.005931, allocations: 15.97 kB / 411.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.005939, allocations: 0 / 411.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.005997, allocations: 3.938 kB / 411.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.006008, allocations: 0 / 411.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006012, allocations: 4 kB / 411.1 MB, free: 13.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.313e-05/0.006035, allocations: 79.28 kB / 411.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006035, allocations: 0 / 411.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.006218, allocations: 43.92 kB / 411.2 MB, free: 13.55 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.0003342/0.006552, allocations: 0.6437 MB / 411.9 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.773e-05/0.006619, allocations: 8 kB / 411.9 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006621, allocations: 0 / 411.9 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.006647, allocations: 29.7 kB / 411.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.006755, allocations: 11.88 kB / 411.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.007027, allocations: 126.4 kB / 412 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.007058, allocations: 59.34 kB / 412.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.463e-05/0.007072, allocations: 4 kB / 412.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.007094, allocations: 12.62 kB / 412.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007095, allocations: 0 / 412.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.02203, allocations: 2.511 MB / 414.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.122, allocations: 3.594 kB / 414.6 MB, free: 10.04 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_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_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.206596538424492]