Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.668/1.668, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008924/0.0008924, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2008/0.2008, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5741, allocations: 87.68 MB / 0.5644 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5745, allocations: 70.97 kB / 0.5645 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0152/0.5897, allocations: 5.275 MB / 0.5696 GB, free: 7.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5897, allocations: 0 / 0.5696 GB, free: 7.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.5898, allocations: 7.312 kB / 0.5696 GB, free: 7.664 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.0005543/0.5903, allocations: 418.1 kB / 0.57 GB, free: 7.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5904, allocations: 12.03 kB / 0.57 GB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.5904, allocations: 7.906 kB / 0.57 GB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.5907, allocations: 218.1 kB / 0.5702 GB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5908, allocations: 0 / 0.5702 GB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.5908, allocations: 8 kB / 0.5703 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.5909, allocations: 60.59 kB / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.591, allocations: 0 / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.591, allocations: 0 / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.591, allocations: 4 kB / 0.5703 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.5911, allocations: 19.61 kB / 0.5703 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.5915, allocations: 298.5 kB / 0.5706 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.5918, allocations: 57.36 kB / 0.5707 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.5918, allocations: 3.938 kB / 0.5707 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.592, allocations: 66.7 kB / 0.5707 GB, free: 6.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.592, allocations: 7.938 kB / 0.5708 GB, free: 6.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005808/0.5926, allocations: 181.7 kB / 0.5709 GB, free: 6.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.5926, allocations: 59.34 kB / 0.571 GB, free: 6.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.5928, allocations: 175 kB / 0.5711 GB, free: 6.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.5929, allocations: 29.2 kB / 0.5712 GB, free: 6.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.5929, allocations: 102.8 kB / 0.5713 GB, free: 5.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.593, allocations: 22.59 kB / 0.5713 GB, free: 5.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.593, allocations: 7.438 kB / 0.5713 GB, free: 5.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5932, allocations: 318.6 kB / 0.5716 GB, free: 5.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/0.5932, allocations: 22.86 kB / 0.5716 GB, free: 5.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.5933, allocations: 36.58 kB / 0.5717 GB, free: 5.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.5934, allocations: 22.19 kB / 0.5717 GB, free: 5.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5934, allocations: 0 / 0.5717 GB, free: 5.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.5936, allocations: 117.3 kB / 0.5718 GB, free: 5.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5936, allocations: 7.438 kB / 0.5718 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.5936, allocations: 0 / 0.5718 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5936, allocations: 0 / 0.5718 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.5937, allocations: 19.98 kB / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5937, allocations: 0 / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.5938, allocations: 3.953 kB / 0.5718 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.5938, allocations: 4 kB / 0.5718 GB, free: 5.375 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 ($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 0.0001266/0.5939, allocations: 133.8 kB / 0.572 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.594, allocations: 15.91 kB / 0.572 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.5942, allocations: 117.8 kB / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5943, allocations: 0 / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5943, allocations: 0 / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5943, allocations: 0 / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.5948, allocations: 420.8 kB / 0.5725 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5948, allocations: 416 / 0.5725 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.5948, allocations: 16 kB / 0.5725 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5948, allocations: 0 / 0.5725 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.5948, allocations: 4.281 kB / 0.5725 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5949, allocations: 7.953 kB / 0.5725 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.5949, allocations: 0 / 0.5725 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.5951, allocations: 231.8 kB / 0.5727 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.5952, allocations: 91.73 kB / 0.5728 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.5952, allocations: 7.953 kB / 0.5728 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.5953, allocations: 3.984 kB / 0.5728 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5954, allocations: 7.625 kB / 0.5728 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.5954, allocations: 7.984 kB / 0.5728 GB, free: 4.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.5955, allocations: 141 kB / 0.573 GB, free: 4.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5955, allocations: 0 / 0.573 GB, free: 4.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.5958, allocations: 36.05 kB / 0.573 GB, free: 4.156 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 (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.5969, allocations: 475 kB / 0.5735 GB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.5971, allocations: 66.83 kB / 0.5735 GB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5972, allocations: 8 kB / 0.5735 GB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.5973, allocations: 31.3 kB / 0.5736 GB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.5975, allocations: 21.17 kB / 0.5736 GB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.598, allocations: 244.7 kB / 0.5738 GB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.5983, allocations: 0.708 MB / 0.5745 GB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.5984, allocations: 20.53 kB / 0.5745 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.5984, allocations: 15.44 kB / 0.5745 GB, free: 2.625 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5984, allocations: 0 / 0.5745 GB, free: 2.625 MB / 378.7 MB Notification: Performance of Templates: time 0.004341/0.6028, allocations: 1.677 MB / 0.5762 GB, free: 0.9648 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches