Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002103/0.002103, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 91.77 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4166/0.4166, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.389e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4002, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5633, allocations: 86.92 MB / 0.5508 GB, free: 12.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5636, allocations: 71.97 kB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02388/0.5875, allocations: 5.271 MB / 0.556 GB, free: 7.047 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5876, allocations: 0 / 0.556 GB, free: 7.047 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.5876, allocations: 7.938 kB / 0.556 GB, free: 7.039 MB / 395.1 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.0005959/0.5882, allocations: 406.2 kB / 0.5564 GB, free: 6.598 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5883, allocations: 8.031 kB / 0.5564 GB, free: 6.59 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.5884, allocations: 15.81 kB / 0.5564 GB, free: 6.574 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.5888, allocations: 215.5 kB / 0.5566 GB, free: 6.32 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5888, allocations: 0 / 0.5566 GB, free: 6.32 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.5888, allocations: 0 / 0.5566 GB, free: 6.32 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.646e-05/0.589, allocations: 19.98 kB / 0.5567 GB, free: 6.301 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.5891, allocations: 49.69 kB / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5891, allocations: 0 / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.5891, allocations: 3.984 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5892, allocations: 3.938 kB / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.5896, allocations: 277.5 kB / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.5898, allocations: 42.7 kB / 0.557 GB, free: 5.879 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.5898, allocations: 20.97 kB / 0.557 GB, free: 5.855 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.5899, allocations: 3.938 kB / 0.557 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.59, allocations: 71.33 kB / 0.5571 GB, free: 5.77 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.5901, allocations: 0 / 0.5571 GB, free: 5.77 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005776/0.5906, allocations: 153.2 kB / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.5907, allocations: 51.41 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.591, allocations: 182.4 kB / 0.5575 GB, free: 5.359 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.591, allocations: 33.69 kB / 0.5575 GB, free: 5.32 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.525e-05/0.5911, allocations: 162.6 kB / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.5912, allocations: 23.66 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.5912, allocations: 0 / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5913, allocations: 318.8 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.5914, allocations: 23.94 kB / 0.558 GB, free: 4.793 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.5915, allocations: 29.72 kB / 0.558 GB, free: 4.758 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.106e-05/0.5916, allocations: 23.98 kB / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5916, allocations: 0 / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.5918, allocations: 77.69 kB / 0.5581 GB, free: 4.652 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5918, allocations: 7.938 kB / 0.5581 GB, free: 4.645 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5919, allocations: 4.031 kB / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5919, allocations: 192 / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.5921, allocations: 23.98 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.5921, allocations: 0 / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.5922, allocations: 0 / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.5922, allocations: 11.95 kB / 0.5582 GB, free: 4.605 MB / 395.1 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 () * 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 0.0001102/0.5923, allocations: 105 kB / 0.5583 GB, free: 4.496 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.5924, allocations: 11.81 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.5927, allocations: 115.4 kB / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.5927, allocations: 4 kB / 0.5584 GB, free: 4.363 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5927, allocations: 0 / 0.5584 GB, free: 4.363 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5927, allocations: 3.984 kB / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.5933, allocations: 375.8 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5934, allocations: 0 / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.5934, allocations: 12.27 kB / 0.5588 GB, free: 3.934 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.5935, allocations: 4 kB / 0.5588 GB, free: 3.93 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.5935, allocations: 0 / 0.5588 GB, free: 3.93 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5935, allocations: 7.969 kB / 0.5588 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5935, allocations: 3.938 kB / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.5938, allocations: 217.9 kB / 0.559 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.5939, allocations: 89 kB / 0.5591 GB, free: 3.574 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.594, allocations: 4 kB / 0.5591 GB, free: 3.57 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.5941, allocations: 4 kB / 0.5591 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.5942, allocations: 19.88 kB / 0.5591 GB, free: 3.547 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.5942, allocations: 7.938 kB / 0.5591 GB, free: 3.539 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.5944, allocations: 144.9 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5944, allocations: 0 / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000386/0.5948, allocations: 31.94 kB / 0.5593 GB, free: 3.367 MB / 395.1 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) * 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.00117/0.596, allocations: 395.2 kB / 0.5597 GB, free: 3.02 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.5962, allocations: 55.92 kB / 0.5597 GB, free: 2.965 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5962, allocations: 0 / 0.5597 GB, free: 2.965 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.5963, allocations: 32 kB / 0.5598 GB, free: 2.934 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.5967, allocations: 31.77 kB / 0.5598 GB, free: 2.902 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.5973, allocations: 191.8 kB / 0.56 GB, free: 2.688 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.5977, allocations: 0.708 MB / 0.5607 GB, free: 1.953 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.5977, allocations: 23.44 kB / 0.5607 GB, free: 1.93 MB / 395.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5978, allocations: 4.062 kB / 0.5607 GB, free: 1.926 MB / 395.1 MB Notification: Performance of Templates: time 0.005538/0.6033, allocations: 1.949 MB / 0.5626 GB, free: 15.98 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches