Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 182.8 kB / 18.09 MB, free: 3.727 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.295/1.295, allocations: 223.3 MB / 242.1 MB, free: 9.938 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.0007432/0.0007434, allocations: 103.4 kB / 293.3 MB, free: 10.54 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.3272/0.3272, allocations: 44.14 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 16 kB / 461.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3456, allocations: 61.88 MB / 0.5107 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4674, allocations: 89.31 MB / 0.598 GB, free: 5.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.4677, allocations: 79.95 kB / 0.598 GB, free: 5.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.4827, allocations: 5.662 MB / 0.6036 GB, free: 36 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.4828, allocations: 0 / 0.6036 GB, free: 36 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4828, allocations: 7.875 kB / 0.6036 GB, free: 28 kB / 410.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.0005153/0.4833, allocations: 419.1 kB / 0.604 GB, free: 15.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4834, allocations: 12.03 kB / 0.604 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.4834, allocations: 12.78 kB / 0.604 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.4837, allocations: 229.6 kB / 0.6042 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.4837, allocations: 384 / 0.6042 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.4838, allocations: 8.375 kB / 0.6042 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4839, allocations: 58.17 kB / 0.6043 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4839, allocations: 192 / 0.6043 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4839, allocations: 3.938 kB / 0.6043 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.484, allocations: 4 kB / 0.6043 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.484, allocations: 19.97 kB / 0.6043 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.4844, allocations: 289 kB / 0.6046 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.4846, allocations: 70.55 kB / 0.6046 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.4847, allocations: 20.84 kB / 0.6047 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.4847, allocations: 7.984 kB / 0.6047 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.4848, allocations: 63.39 kB / 0.6047 GB, free: 14.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4849, allocations: 0 / 0.6047 GB, free: 14.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005617/0.4854, allocations: 185 kB / 0.6049 GB, free: 14.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.4855, allocations: 51.41 kB / 0.605 GB, free: 14.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.4857, allocations: 203.3 kB / 0.6052 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.4857, allocations: 29.7 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.4857, allocations: 96.14 kB / 0.6053 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.4858, allocations: 31.62 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.4858, allocations: 0 / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4859, allocations: 331 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.486, allocations: 23.98 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.4861, allocations: 45.64 kB / 0.6057 GB, free: 13.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.4862, allocations: 53.7 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4862, allocations: 0 / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.4864, allocations: 101.5 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4864, allocations: 4 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4864, allocations: 4.031 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4864, allocations: 0 / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.4865, allocations: 19.98 kB / 0.6059 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4865, allocations: 0 / 0.6059 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.4866, allocations: 4 kB / 0.6059 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.4866, allocations: 4 kB / 0.6059 GB, free: 13.43 MB / 426.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.519e-05/0.4867, allocations: 133.7 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.4867, allocations: 15.94 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.4869, allocations: 126.9 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.487, allocations: 4 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.487, allocations: 0 / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.487, allocations: 3.984 kB / 0.6061 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.4874, allocations: 411.8 kB / 0.6065 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4874, allocations: 4 kB / 0.6065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.4875, allocations: 12 kB / 0.6065 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4875, allocations: 8.016 kB / 0.6066 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4875, allocations: 4 kB / 0.6066 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4875, allocations: 4 kB / 0.6066 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4875, allocations: 4.016 kB / 0.6066 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.4877, allocations: 216.1 kB / 0.6068 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.4878, allocations: 97 kB / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.4879, allocations: 0 / 0.6069 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.4879, allocations: 8 kB / 0.6069 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.488, allocations: 11.92 kB / 0.6069 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.488, allocations: 4 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.4881, allocations: 148.9 kB / 0.607 GB, free: 12.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4881, allocations: 0 / 0.607 GB, free: 12.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000261/0.4884, allocations: 39.92 kB / 0.6071 GB, free: 12.09 MB / 426.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.4895, allocations: 478.5 kB / 0.6075 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.4897, allocations: 59.97 kB / 0.6076 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4897, allocations: 0 / 0.6076 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.4898, allocations: 35.92 kB / 0.6076 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.4901, allocations: 32.09 kB / 0.6076 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.4906, allocations: 254.1 kB / 0.6079 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.4909, allocations: 0.7083 MB / 0.6086 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.4909, allocations: 20.8 kB / 0.6086 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.491, allocations: 15.44 kB / 0.6086 GB, free: 10.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.491, allocations: 0 / 0.6086 GB, free: 10.63 MB / 426.7 MB Notification: Performance of Templates: time 0.004483/0.4955, allocations: 1.728 MB / 0.6103 GB, free: 8.922 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches