Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.0013/0.0013, allocations: 67.77 kB / 21.24 MB, free: 404 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.001464/0.001464, allocations: 168.6 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.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 8.934 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.2085/0.2085, allocations: 32.8 MB / 294.1 MB, free: 64 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.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [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.002167/0.002167, allocations: 78.38 kB / 440.6 MB, free: 9.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3602, allocations: 65.45 MB / 0.4942 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003229/0.3634, allocations: 2.183 MB / 0.4964 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3654, allocations: 1.262 MB / 0.4976 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.3655, allocations: 3.156 kB / 0.4976 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.3659, allocations: 136.7 kB / 0.4977 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.3663, allocations: 241.5 kB / 0.498 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3666, allocations: 189.6 kB / 0.4981 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.3671, allocations: 472.6 kB / 0.4986 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.3672, allocations: 40.92 kB / 0.4986 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.3675, allocations: 302.4 kB / 0.4989 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.3677, allocations: 163.3 kB / 0.4991 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.3677, allocations: 15.81 kB / 0.4991 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3678, allocations: 73.56 kB / 0.4992 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.368, allocations: 139.3 kB / 0.4993 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.3681, allocations: 138.5 kB / 0.4994 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.3685, allocations: 449.1 kB / 0.4998 GB, free: 28.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3685, allocations: 0 / 0.4998 GB, free: 28.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3685, allocations: 3.938 kB / 0.4999 GB, free: 28.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.3685, allocations: 3.469 kB / 0.4999 GB, free: 28.09 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009199/0.3694, allocations: 0.7658 MB / 0.5006 GB, free: 27.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3695, allocations: 13.33 kB / 0.5006 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.3696, allocations: 68.33 kB / 0.5007 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.37, allocations: 342.5 kB / 0.501 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.37, allocations: 10.81 kB / 0.501 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.3701, allocations: 24.66 kB / 0.501 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.3704, allocations: 201.7 kB / 0.5012 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3704, allocations: 7.156 kB / 0.5012 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3704, allocations: 4 kB / 0.5012 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3704, allocations: 3.188 kB / 0.5012 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.3706, allocations: 106.6 kB / 0.5013 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.3713, allocations: 0.7165 MB / 0.502 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.3719, allocations: 240.3 kB / 0.5023 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.3721, allocations: 95.38 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3721, allocations: 7.203 kB / 0.5024 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.3724, allocations: 208 kB / 0.5026 GB, free: 26.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.3724, allocations: 0 / 0.5026 GB, free: 26.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.002227/0.3746, allocations: 1.163 MB / 0.5037 GB, free: 25.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3747, allocations: 131.6 kB / 0.5038 GB, free: 25.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.3754, allocations: 0.8216 MB / 0.5046 GB, free: 25.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3754, allocations: 36.64 kB / 0.5047 GB, free: 25.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3755, allocations: 246 kB / 0.5049 GB, free: 24.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.3756, allocations: 145.7 kB / 0.505 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.3757, allocations: 78.67 kB / 0.5051 GB, free: 24.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.3758, allocations: 380 kB / 0.5055 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.376, allocations: 124.9 kB / 0.5056 GB, free: 24.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3762, allocations: 188.8 kB / 0.5058 GB, free: 24.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.3767, allocations: 323 kB / 0.5061 GB, free: 24.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3767, allocations: 0 / 0.5061 GB, free: 24.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006376/0.3774, allocations: 454 kB / 0.5065 GB, free: 23.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3774, allocations: 9.578 kB / 0.5065 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3774, allocations: 3 kB / 0.5065 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3774, allocations: 3.062 kB / 0.5065 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3777, allocations: 91.44 kB / 0.5066 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3777, allocations: 10.92 kB / 0.5066 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3778, allocations: 20.59 kB / 0.5067 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.3779, allocations: 23.97 kB / 0.5067 GB, free: 23.79 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001973/0.3781, allocations: 236.4 kB / 0.5069 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.3781, allocations: 69.28 kB / 0.507 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008424/0.379, allocations: 0.5156 MB / 0.5075 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.379, allocations: 5.938 kB / 0.5075 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.379, allocations: 6.328 kB / 0.5075 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.379, allocations: 0 / 0.5075 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.3804, allocations: 1.25 MB / 0.5087 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3804, allocations: 3.094 kB / 0.5087 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.3806, allocations: 73.34 kB / 0.5088 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3806, allocations: 6.156 kB / 0.5088 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.3806, allocations: 20.94 kB / 0.5088 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3806, allocations: 3.094 kB / 0.5088 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3806, allocations: 7.5 kB / 0.5088 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.3814, allocations: 0.8277 MB / 0.5096 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.3815, allocations: 107.7 kB / 0.5097 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/0.3816, allocations: 14 kB / 0.5097 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.3819, allocations: 20.44 kB / 0.5098 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.3819, allocations: 48.91 kB / 0.5098 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.382, allocations: 24.89 kB / 0.5098 GB, free: 21.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004863/0.3825, allocations: 0.5927 MB / 0.5104 GB, free: 21.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3825, allocations: 4 kB / 0.5104 GB, free: 21.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.383, allocations: 89.47 kB / 0.5105 GB, free: 21.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002087/0.3851, allocations: 0.5695 MB / 0.5111 GB, free: 21.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000721/0.3858, allocations: 319.1 kB / 0.5114 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3858, allocations: 1.688 kB / 0.5114 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.3861, allocations: 156.8 kB / 0.5115 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009427/0.387, allocations: 141 kB / 0.5116 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3886, allocations: 1.08 MB / 0.5127 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.389, allocations: 292.7 kB / 0.513 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.3892, allocations: 81.08 kB / 0.5131 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3894, allocations: 56.47 kB / 0.5131 GB, free: 20.46 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3894, allocations: 3.938 kB / 0.5131 GB, free: 20.46 MB / 446.1 MB Notification: Performance of Templates: time 0.01273/0.4021, allocations: 5.728 MB / 0.5187 GB, free: 19.68 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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: 5.158228854998015]