Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009504/0.0009502, allocations: 181.8 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008195/0.0008194, allocations: 104.1 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3438/0.3438, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004462, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1326, allocations: 58.86 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4873, allocations: 87.72 MB / 0.5656 GB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4876, allocations: 71.97 kB / 0.5657 GB, free: 14.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01478/0.5024, allocations: 5.408 MB / 0.5709 GB, free: 9.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5024, allocations: 0 / 0.5709 GB, free: 9.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.5025, allocations: 4 kB / 0.571 GB, free: 9.266 MB / 394.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.0005654/0.503, allocations: 421.9 kB / 0.5714 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5031, allocations: 8.031 kB / 0.5714 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.5031, allocations: 16.75 kB / 0.5714 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.5035, allocations: 228.9 kB / 0.5716 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.5035, allocations: 4.359 kB / 0.5716 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.5035, allocations: 8.312 kB / 0.5716 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.5037, allocations: 58.23 kB / 0.5717 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5037, allocations: 192 / 0.5717 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.5037, allocations: 3.938 kB / 0.5717 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5037, allocations: 4 kB / 0.5717 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.5038, allocations: 19.98 kB / 0.5717 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.5043, allocations: 296.9 kB / 0.572 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.5045, allocations: 58.62 kB / 0.572 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.5046, allocations: 24.84 kB / 0.5721 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.5046, allocations: 0 / 0.5721 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.5047, allocations: 75.33 kB / 0.5721 GB, free: 7.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5048, allocations: 0 / 0.5721 GB, free: 7.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005957/0.5054, allocations: 182 kB / 0.5723 GB, free: 7.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.5054, allocations: 55.41 kB / 0.5724 GB, free: 7.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.5056, allocations: 212.6 kB / 0.5726 GB, free: 7.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5057, allocations: 25.7 kB / 0.5726 GB, free: 7.402 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.5057, allocations: 112 kB / 0.5727 GB, free: 7.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.5058, allocations: 23.7 kB / 0.5727 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.5058, allocations: 4 kB / 0.5727 GB, free: 7.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5059, allocations: 326.8 kB / 0.573 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.506, allocations: 19.98 kB / 0.573 GB, free: 6.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.506, allocations: 37.7 kB / 0.5731 GB, free: 6.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.5061, allocations: 65.7 kB / 0.5731 GB, free: 6.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5062, allocations: 0 / 0.5731 GB, free: 6.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.5064, allocations: 97.59 kB / 0.5732 GB, free: 6.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5064, allocations: 8 kB / 0.5732 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5064, allocations: 3.984 kB / 0.5732 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5064, allocations: 192 / 0.5732 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.5065, allocations: 19.94 kB / 0.5733 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5065, allocations: 3.938 kB / 0.5733 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.5066, allocations: 4 kB / 0.5733 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.5066, allocations: 7.984 kB / 0.5733 GB, free: 6.652 MB / 394.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.827e-05/0.5067, allocations: 133.8 kB / 0.5734 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.5067, allocations: 11.81 kB / 0.5734 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.507, allocations: 127 kB / 0.5735 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.507, allocations: 4 kB / 0.5735 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.507, allocations: 3.938 kB / 0.5735 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.507, allocations: 0 / 0.5735 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.5075, allocations: 423.2 kB / 0.574 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.5075, allocations: 384 / 0.574 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.5076, allocations: 8 kB / 0.574 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5076, allocations: 4 kB / 0.574 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5076, allocations: 8 kB / 0.574 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5076, allocations: 0 / 0.574 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5076, allocations: 7.875 kB / 0.574 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.5079, allocations: 212.2 kB / 0.5742 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.5079, allocations: 89.02 kB / 0.5743 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.508, allocations: 15.92 kB / 0.5743 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.508, allocations: 0 / 0.5743 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.5081, allocations: 7.938 kB / 0.5743 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.5081, allocations: 7.984 kB / 0.5743 GB, free: 5.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.5082, allocations: 160.2 kB / 0.5744 GB, free: 5.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5083, allocations: 0 / 0.5744 GB, free: 5.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.5085, allocations: 39.94 kB / 0.5745 GB, free: 5.305 MB / 394.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.00101/0.5095, allocations: 479.9 kB / 0.5749 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.5097, allocations: 63.91 kB / 0.575 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5098, allocations: 4.062 kB / 0.575 GB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.5098, allocations: 36.08 kB / 0.575 GB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.5102, allocations: 28.11 kB / 0.5751 GB, free: 4.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.5107, allocations: 299.3 kB / 0.5754 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.511, allocations: 0.7121 MB / 0.5761 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.511, allocations: 15.44 kB / 0.5761 GB, free: 3.727 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.511, allocations: 0 / 0.5761 GB, free: 3.727 MB / 394.7 MB Notification: Performance of Templates: time 0.004202/0.5153, allocations: 1.988 MB / 0.578 GB, free: 1.75 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches