Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 101.1 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4317/0.4317, allocations: 44.13 MB / 386.1 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 55.92 kB / 457.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4828, allocations: 60.8 MB / 0.5064 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003605/0.4864, allocations: 1.757 MB / 0.5081 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.4879, allocations: 0.8672 MB / 0.509 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.488, allocations: 4 kB / 0.509 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.4883, allocations: 49.12 kB / 0.509 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.4885, allocations: 49.44 kB / 0.5091 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.4888, allocations: 91.59 kB / 0.5091 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.489, allocations: 98.17 kB / 0.5092 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.4891, allocations: 12.92 kB / 0.5093 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.4892, allocations: 46.41 kB / 0.5093 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.4893, allocations: 35.5 kB / 0.5093 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.4893, allocations: 1.25 kB / 0.5093 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.4894, allocations: 39.59 kB / 0.5094 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.4895, allocations: 19.83 kB / 0.5094 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.4895, allocations: 37.45 kB / 0.5094 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.4897, allocations: 118.3 kB / 0.5095 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4897, allocations: 8 kB / 0.5095 GB, free: 36.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4898, allocations: 0 / 0.5095 GB, free: 36.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.4898, allocations: 3.938 kB / 0.5095 GB, free: 36.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005168/0.4903, allocations: 425 kB / 0.51 GB, free: 36.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4903, allocations: 8.844 kB / 0.51 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.4904, allocations: 10.94 kB / 0.51 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.4906, allocations: 212.3 kB / 0.5102 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4906, allocations: 4.359 kB / 0.5102 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.4906, allocations: 7.281 kB / 0.5102 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.4908, allocations: 58 kB / 0.5102 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4908, allocations: 7.719 kB / 0.5102 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4908, allocations: 0 / 0.5102 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.4909, allocations: 3.938 kB / 0.5103 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.4909, allocations: 21.44 kB / 0.5103 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.4913, allocations: 287.3 kB / 0.5105 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.4915, allocations: 63.17 kB / 0.5106 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.4915, allocations: 24.75 kB / 0.5106 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.4916, allocations: 0 / 0.5106 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.4917, allocations: 67.64 kB / 0.5107 GB, free: 35.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.4918, allocations: 0 / 0.5107 GB, free: 35.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005292/0.4923, allocations: 179.2 kB / 0.5109 GB, free: 35.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.4923, allocations: 51.41 kB / 0.5109 GB, free: 35.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.4925, allocations: 229 kB / 0.5111 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4925, allocations: 29.7 kB / 0.5112 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.4926, allocations: 105.1 kB / 0.5113 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.4926, allocations: 24.81 kB / 0.5113 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.4927, allocations: 19.31 kB / 0.5113 GB, free: 34.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.4927, allocations: 335.2 kB / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.4928, allocations: 19.56 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.4929, allocations: 36.81 kB / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.493, allocations: 59.53 kB / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.493, allocations: 0 / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.4932, allocations: 115.9 kB / 0.5118 GB, free: 34.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4932, allocations: 8.188 kB / 0.5119 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4932, allocations: 4.031 kB / 0.5119 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4932, allocations: 0 / 0.5119 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.4933, allocations: 19 kB / 0.5119 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4933, allocations: 3.031 kB / 0.5119 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.4934, allocations: 6.938 kB / 0.5119 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4934, allocations: 0 / 0.5119 GB, free: 34.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.994e-05/0.4935, allocations: 132.2 kB / 0.512 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.4935, allocations: 16.75 kB / 0.512 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.4936, allocations: 15.44 kB / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4936, allocations: 4 kB / 0.512 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4936, allocations: 3.938 kB / 0.512 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.4936, allocations: 10.09 kB / 0.5121 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.494, allocations: 393 kB / 0.5124 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.494, allocations: 0 / 0.5124 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.494, allocations: 12.09 kB / 0.5124 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.494, allocations: 0 / 0.5124 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.494, allocations: 6.781 kB / 0.5125 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4941, allocations: 7.266 kB / 0.5125 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4941, allocations: 0 / 0.5125 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.4945, allocations: 0.7832 MB / 0.5132 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.4946, allocations: 87.17 kB / 0.5133 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.4946, allocations: 6.531 kB / 0.5133 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.4947, allocations: 4 kB / 0.5133 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.4947, allocations: 8.469 kB / 0.5133 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.4947, allocations: 2.688 kB / 0.5133 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.4949, allocations: 173.3 kB / 0.5135 GB, free: 32.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4949, allocations: 0 / 0.5135 GB, free: 32.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.4953, allocations: 20.12 kB / 0.5135 GB, free: 32.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001083/0.4964, allocations: 489.7 kB / 0.514 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.4965, allocations: 54.83 kB / 0.514 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4966, allocations: 2.875 kB / 0.514 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.4966, allocations: 36.22 kB / 0.5141 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.497, allocations: 32.39 kB / 0.5141 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005224/0.4975, allocations: 404.8 kB / 0.5145 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.4977, allocations: 0.7056 MB / 0.5152 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.11e-05/0.4977, allocations: 15 kB / 0.5152 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.4978, allocations: 12.72 kB / 0.5152 GB, free: 31.61 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4978, allocations: 2.75 kB / 0.5152 GB, free: 31.61 MB / 378.7 MB Notification: Performance of Templates: time 0.004703/0.5025, allocations: 1.692 MB / 0.5169 GB, free: 31.42 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches