Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00203/0.00203, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 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.00228/0.00228, allocations: 162.5 kB / 24.5 MB, free: 3.715 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.581/1.581, allocations: 177.2 MB / 204.9 MB, free: 8.992 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.1992/0.1992, allocations: 32.8 MB / 294.1 MB, free: 8 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [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.002303/0.002303, allocations: 67.91 kB / 440.6 MB, free: 9.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3066, allocations: 65.44 MB / 0.4941 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001401/0.308, allocations: 0.4911 MB / 0.4946 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3093, allocations: 1.359 MB / 0.4959 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.3093, allocations: 0 / 0.4959 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.3093, allocations: 0 / 0.4959 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.026e-05/0.3094, allocations: 0 / 0.4959 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.3099, allocations: 222.2 kB / 0.4962 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.077e-05/0.31, allocations: 10.58 kB / 0.4962 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.31, allocations: 0 / 0.4962 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.31, allocations: 3.156 kB / 0.4962 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.3101, allocations: 10.61 kB / 0.4962 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3101, allocations: 4 kB / 0.4962 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.3105, allocations: 259.4 kB / 0.4964 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.3105, allocations: 3.984 kB / 0.4964 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.3105, allocations: 2.844 kB / 0.4964 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.3107, allocations: 144.2 kB / 0.4966 GB, free: 29.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3107, allocations: 4 kB / 0.4966 GB, free: 29.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3107, allocations: 3.938 kB / 0.4966 GB, free: 29.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3107, allocations: 0 / 0.4966 GB, free: 29.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002697/0.3109, allocations: 254.3 kB / 0.4968 GB, free: 29.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.311, allocations: 9.406 kB / 0.4968 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.311, allocations: 12.08 kB / 0.4968 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.979e-05/0.3111, allocations: 110.5 kB / 0.4969 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-06/0.3111, allocations: 384 / 0.4969 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.3111, allocations: 3.594 kB / 0.4969 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3112, allocations: 66.53 kB / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.3112, allocations: 3.219 kB / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3112, allocations: 0 / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3112, allocations: 0 / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.3112, allocations: 6.703 kB / 0.497 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.3115, allocations: 189.6 kB / 0.4972 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.3115, allocations: 29.8 kB / 0.4972 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.3115, allocations: 4.859 kB / 0.4972 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.3115, allocations: 0 / 0.4972 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3116, allocations: 37.14 kB / 0.4973 GB, free: 29.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3116, allocations: 0 / 0.4973 GB, free: 29.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.3117, allocations: 36.17 kB / 0.4973 GB, free: 29.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.3117, allocations: 51.41 kB / 0.4974 GB, free: 29.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.3118, allocations: 100.5 kB / 0.4975 GB, free: 28.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.3118, allocations: 25.7 kB / 0.4975 GB, free: 28.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.3118, allocations: 92.28 kB / 0.4976 GB, free: 28.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.3118, allocations: 7.109 kB / 0.4976 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.3118, allocations: 16.84 kB / 0.4976 GB, free: 28.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.3119, allocations: 310.8 kB / 0.4979 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.3119, allocations: 6.531 kB / 0.4979 GB, free: 28.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.3119, allocations: 17.58 kB / 0.4979 GB, free: 28.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.3119, allocations: 28.64 kB / 0.4979 GB, free: 28.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3119, allocations: 3.938 kB / 0.4979 GB, free: 28.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.884e-05/0.312, allocations: 53.53 kB / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.312, allocations: 5.938 kB / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.312, allocations: 0 / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.312, allocations: 3.125 kB / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.571e-05/0.3121, allocations: 9.438 kB / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3121, allocations: 0 / 0.498 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.3121, allocations: 3.938 kB / 0.498 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3121, allocations: 2.906 kB / 0.498 GB, free: 28.42 MB / 446.1 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.098e-05/0.3121, allocations: 113.5 kB / 0.4981 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.3121, allocations: 4.094 kB / 0.4981 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-05/0.3122, allocations: 57.27 kB / 0.4982 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3122, allocations: 96 / 0.4982 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3122, allocations: 3.984 kB / 0.4982 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.3122, allocations: 0 / 0.4982 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.611e-05/0.3123, allocations: 100.2 kB / 0.4983 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3123, allocations: 3.375 kB / 0.4983 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.3123, allocations: 2.938 kB / 0.4983 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3123, allocations: 4.031 kB / 0.4983 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3123, allocations: 0 / 0.4983 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3123, allocations: 0 / 0.4983 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3123, allocations: 0 / 0.4983 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.663e-05/0.3124, allocations: 139.8 kB / 0.4984 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-06/0.3124, allocations: 7.141 kB / 0.4984 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.3124, allocations: 0 / 0.4984 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.3125, allocations: 0 / 0.4984 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.3125, allocations: 0 / 0.4984 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3125, allocations: 2.875 kB / 0.4984 GB, free: 27.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.734e-05/0.3125, allocations: 83.31 kB / 0.4985 GB, free: 27.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3125, allocations: 3.031 kB / 0.4985 GB, free: 27.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3128, allocations: 40.42 kB / 0.4986 GB, free: 27.88 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.0002205/0.313, allocations: 135 kB / 0.4987 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.3131, allocations: 21.31 kB / 0.4987 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3131, allocations: 0 / 0.4987 GB, free: 27.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.3131, allocations: 28.86 kB / 0.4987 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3133, allocations: 6.344 kB / 0.4987 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001812/0.3135, allocations: 95.02 kB / 0.4988 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.3135, allocations: 57.98 kB / 0.4989 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.937e-05/0.3135, allocations: 0 / 0.4989 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.3136, allocations: 11.66 kB / 0.4989 GB, free: 27.55 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3136, allocations: 0 / 0.4989 GB, free: 27.55 MB / 446.1 MB Notification: Performance of Templates: time 0.003146/0.3167, allocations: 1.079 MB / 0.4999 GB, free: 27.46 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 4.974425428081304]