Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002235/0.002235, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002356/0.002356, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.546/1.546, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2174/0.2174, allocations: 32.81 MB / 294.1 MB, free: 68 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 67.91 kB / 440.5 MB, free: 9.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2943, allocations: 65.44 MB / 0.4941 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001448/0.2958, allocations: 0.5017 MB / 0.4946 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.297, allocations: 1.345 MB / 0.4959 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.2971, allocations: 0 / 0.4959 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.2971, allocations: 0 / 0.4959 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.2971, allocations: 6.906 kB / 0.4959 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.2977, allocations: 216.3 kB / 0.4961 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.024e-05/0.2977, allocations: 10.44 kB / 0.4961 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.2978, allocations: 0 / 0.4961 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.2978, allocations: 7.156 kB / 0.4962 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.2978, allocations: 10.62 kB / 0.4962 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.2978, allocations: 0 / 0.4962 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.2982, allocations: 255.9 kB / 0.4964 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.2982, allocations: 11.19 kB / 0.4964 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.2982, allocations: 3.938 kB / 0.4964 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.2984, allocations: 141.8 kB / 0.4966 GB, free: 30 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2984, allocations: 0 / 0.4966 GB, free: 30 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2984, allocations: 4 kB / 0.4966 GB, free: 30 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2984, allocations: 0 / 0.4966 GB, free: 30 MB / 446.1 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.0002839/0.2987, allocations: 265.7 kB / 0.4968 GB, free: 29.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2987, allocations: 9.406 kB / 0.4968 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.2987, allocations: 0.9375 kB / 0.4968 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.25e-05/0.2988, allocations: 109.7 kB / 0.4969 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2988, allocations: 4.312 kB / 0.4969 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.2988, allocations: 384 / 0.4969 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.211e-05/0.2989, allocations: 66.34 kB / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2989, allocations: 3.188 kB / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2989, allocations: 4 kB / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2989, allocations: 0 / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.299, allocations: 0 / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.729e-05/0.299, allocations: 96.48 kB / 0.4971 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.2991, allocations: 21.61 kB / 0.4971 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.2991, allocations: 12.36 kB / 0.4971 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.2991, allocations: 3.328 kB / 0.4971 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.2991, allocations: 30.56 kB / 0.4972 GB, free: 29.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2991, allocations: 0 / 0.4972 GB, free: 29.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.2992, allocations: 35.95 kB / 0.4972 GB, free: 29.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.2992, allocations: 62.5 kB / 0.4973 GB, free: 29.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.45e-05/0.2993, allocations: 100.5 kB / 0.4974 GB, free: 29.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.2993, allocations: 25.7 kB / 0.4974 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.256e-05/0.2993, allocations: 80.14 kB / 0.4975 GB, free: 29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2993, allocations: 3.953 kB / 0.4975 GB, free: 29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.2993, allocations: 16.81 kB / 0.4975 GB, free: 28.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.327e-05/0.2994, allocations: 310.8 kB / 0.4978 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.2994, allocations: 3.188 kB / 0.4978 GB, free: 28.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.2994, allocations: 0 / 0.4978 GB, free: 28.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.2994, allocations: 19.62 kB / 0.4978 GB, free: 28.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2994, allocations: 0 / 0.4978 GB, free: 28.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.416e-05/0.2995, allocations: 39.02 kB / 0.4978 GB, free: 28.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.2995, allocations: 3.219 kB / 0.4978 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2995, allocations: 3.938 kB / 0.4978 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2995, allocations: 0 / 0.4978 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.2995, allocations: 3.219 kB / 0.4978 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2995, allocations: 3.938 kB / 0.4978 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.2996, allocations: 0 / 0.4978 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2996, allocations: 10.56 kB / 0.4979 GB, free: 28.6 MB / 446.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 (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 3.824e-05/0.2996, allocations: 114.5 kB / 0.498 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-06/0.2996, allocations: 3.156 kB / 0.498 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.068e-05/0.2997, allocations: 46.62 kB / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2997, allocations: 0 / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2997, allocations: 3.156 kB / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2997, allocations: 0 / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.756e-05/0.2997, allocations: 93.33 kB / 0.4981 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2997, allocations: 7.312 kB / 0.4981 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2997, allocations: 0 / 0.4981 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2997, allocations: 0 / 0.4981 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.2998, allocations: 3.422 kB / 0.4981 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2998, allocations: 3.938 kB / 0.4981 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2998, allocations: 3.281 kB / 0.4981 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.964e-05/0.2998, allocations: 59.52 kB / 0.4982 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.2998, allocations: 3.219 kB / 0.4982 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.2998, allocations: 3.422 kB / 0.4982 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.2999, allocations: 7.219 kB / 0.4982 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.2999, allocations: 7.969 kB / 0.4982 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.2999, allocations: 0 / 0.4982 GB, free: 28.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.584e-05/0.2999, allocations: 82.44 kB / 0.4983 GB, free: 28.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2999, allocations: 0 / 0.4983 GB, free: 28.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.3001, allocations: 42.22 kB / 0.4983 GB, free: 28.14 MB / 446.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 (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.0002051/0.3003, allocations: 134.3 kB / 0.4984 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.445e-05/0.3004, allocations: 17.81 kB / 0.4985 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3004, allocations: 0 / 0.4985 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.694e-05/0.3005, allocations: 32.86 kB / 0.4985 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.3006, allocations: 0 / 0.4985 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001703/0.3008, allocations: 90.38 kB / 0.4986 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.584e-05/0.3008, allocations: 58.64 kB / 0.4986 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.276e-05/0.3008, allocations: 0 / 0.4986 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.3008, allocations: 11.97 kB / 0.4986 GB, free: 27.81 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3008, allocations: 0 / 0.4986 GB, free: 27.81 MB / 446.1 MB Notification: Performance of Templates: time 0.003199/0.304, allocations: 1.094 MB / 0.4997 GB, free: 27.71 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.913721510092728]