Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009198/0.0009199, allocations: 183 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.206/1.206, allocations: 223.3 MB / 242.1 MB, free: 11.71 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.001047/0.001047, allocations: 106.4 kB / 293.3 MB, free: 10.76 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.2732/0.2732, allocations: 44.15 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 16 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2715, allocations: 61.87 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0967/0.3682, allocations: 88.58 MB / 0.5972 GB, free: 6.484 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3685, allocations: 79.95 kB / 0.5973 GB, free: 6.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.3799, allocations: 4.587 MB / 0.6018 GB, free: 1.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.3799, allocations: 0 / 0.6018 GB, free: 1.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.38, allocations: 7.938 kB / 0.6018 GB, free: 1.809 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004378/0.3804, allocations: 422.9 kB / 0.6022 GB, free: 1.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3805, allocations: 8.031 kB / 0.6022 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3805, allocations: 16.83 kB / 0.6022 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.3807, allocations: 200 kB / 0.6024 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3807, allocations: 8.375 kB / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3808, allocations: 384 / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3809, allocations: 70.17 kB / 0.6025 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.381, allocations: 192 / 0.6025 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.381, allocations: 7.938 kB / 0.6025 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.381, allocations: 0 / 0.6025 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3811, allocations: 47.97 kB / 0.6025 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.3815, allocations: 324.6 kB / 0.6028 GB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.3817, allocations: 54.56 kB / 0.6029 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.3818, allocations: 24.97 kB / 0.6029 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3818, allocations: 4 kB / 0.6029 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3819, allocations: 42.55 kB / 0.603 GB, free: 448 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.3819, allocations: 0 / 0.603 GB, free: 448 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001309/0.3832, allocations: 474.2 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.3832, allocations: 51.41 kB / 0.6035 GB, free: 15.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3834, allocations: 190.4 kB / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3834, allocations: 29.7 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.3835, allocations: 108 kB / 0.6038 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.3835, allocations: 31.47 kB / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.3835, allocations: 0 / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.3836, allocations: 326.8 kB / 0.6041 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3838, allocations: 51.97 kB / 0.6042 GB, free: 15.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3839, allocations: 47.97 kB / 0.6042 GB, free: 15.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.3841, allocations: 120.7 kB / 0.6043 GB, free: 14.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3841, allocations: 0 / 0.6043 GB, free: 14.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002914/0.3844, allocations: 157.5 kB / 0.6045 GB, free: 14.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3845, allocations: 5.562 kB / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3845, allocations: 4 kB / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3845, allocations: 0 / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3846, allocations: 31.97 kB / 0.6045 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3846, allocations: 0 / 0.6045 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.3847, allocations: 19.94 kB / 0.6045 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3847, allocations: 7.984 kB / 0.6045 GB, free: 14.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.183e-05/0.3848, allocations: 126.4 kB / 0.6047 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.3848, allocations: 15.75 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.3852, allocations: 186.6 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3852, allocations: 0 / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3852, allocations: 0 / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3852, allocations: 3.938 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.3858, allocations: 496 kB / 0.6053 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3858, allocations: 0 / 0.6053 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.9e-05/0.3859, allocations: 35.97 kB / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.386, allocations: 4 kB / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.386, allocations: 12.5 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.386, allocations: 0 / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.386, allocations: 3.938 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.3863, allocations: 261 kB / 0.6056 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.3864, allocations: 104.9 kB / 0.6057 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3864, allocations: 4 kB / 0.6057 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.3865, allocations: 19.98 kB / 0.6058 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3866, allocations: 7.984 kB / 0.6058 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3866, allocations: 4 kB / 0.6058 GB, free: 13.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3867, allocations: 143.1 kB / 0.6059 GB, free: 13.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3867, allocations: 3.938 kB / 0.6059 GB, free: 13.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.387, allocations: 35.94 kB / 0.6059 GB, free: 13.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.000893/0.3879, allocations: 463.8 kB / 0.6064 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.3882, allocations: 127.8 kB / 0.6065 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3882, allocations: 0 / 0.6065 GB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3884, allocations: 72.03 kB / 0.6066 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.3887, allocations: 26.73 kB / 0.6066 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.3891, allocations: 282.9 kB / 0.6069 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.3894, allocations: 0.7121 MB / 0.6076 GB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.599e-05/0.3895, allocations: 20.53 kB / 0.6076 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.3895, allocations: 15.44 kB / 0.6076 GB, free: 11.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3895, allocations: 3.938 kB / 0.6076 GB, free: 11.62 MB / 426.7 MB Notification: Performance of Templates: time 0.003559/0.3931, allocations: 1.51 MB / 0.6091 GB, free: 10.13 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches