Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009687/0.0009688, 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.202/1.202, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0007783/0.0007783, allocations: 90.33 kB / 293.3 MB, free: 10.58 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.2855/0.2855, allocations: 44.15 MB / 388.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2612, allocations: 61.89 MB / 0.5107 GB, free: 37.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09735/0.3585, allocations: 88.81 MB / 0.5975 GB, free: 6.262 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.3588, allocations: 79.92 kB / 0.5975 GB, free: 6.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01599/0.3748, allocations: 8.02 MB / 0.6054 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3748, allocations: 3.938 kB / 0.6054 GB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.3749, allocations: 4 kB / 0.6054 GB, free: 14.13 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007672/0.3756, allocations: 0.6181 MB / 0.606 GB, free: 13.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3757, allocations: 12.03 kB / 0.606 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.3758, allocations: 36.47 kB / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.3763, allocations: 348.2 kB / 0.6064 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3763, allocations: 384 / 0.6064 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3763, allocations: 4.375 kB / 0.6064 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.3765, allocations: 57.95 kB / 0.6064 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3765, allocations: 4.125 kB / 0.6064 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3765, allocations: 3.938 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3765, allocations: 4 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.3766, allocations: 27.98 kB / 0.6065 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.3772, allocations: 436.7 kB / 0.6069 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3773, allocations: 38.56 kB / 0.6069 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.3774, allocations: 24.78 kB / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3774, allocations: 0 / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3774, allocations: 34.56 kB / 0.607 GB, free: 12.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.3774, allocations: 0 / 0.607 GB, free: 12.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003218/0.3778, allocations: 113.1 kB / 0.6071 GB, free: 12.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3778, allocations: 51.41 kB / 0.6071 GB, free: 12.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.3791, allocations: 0.8495 MB / 0.6079 GB, free: 11.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.3791, allocations: 25.7 kB / 0.608 GB, free: 11.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3793, allocations: 224.1 kB / 0.6082 GB, free: 11.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.3793, allocations: 7.844 kB / 0.6082 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.3793, allocations: 0 / 0.6082 GB, free: 11.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3794, allocations: 362.9 kB / 0.6085 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.3795, allocations: 15.94 kB / 0.6086 GB, free: 10.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.3795, allocations: 11.98 kB / 0.6086 GB, free: 10.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.3796, allocations: 36.78 kB / 0.6086 GB, free: 10.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3796, allocations: 0 / 0.6086 GB, free: 10.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00017/0.3798, allocations: 101.3 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3798, allocations: 4 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3798, allocations: 0 / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3799, allocations: 4 kB / 0.6087 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.3799, allocations: 8 kB / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3799, allocations: 0 / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.031e-05/0.38, allocations: 11.84 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.38, allocations: 4.031 kB / 0.6087 GB, free: 10.47 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 (2): * Single equations (assignments): 2 * 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.0001785/0.3802, allocations: 213.7 kB / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.3803, allocations: 39.53 kB / 0.609 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.3805, allocations: 120.2 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3805, allocations: 0 / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3805, allocations: 0 / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3805, allocations: 4.031 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.3808, allocations: 325.4 kB / 0.6094 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3808, allocations: 0 / 0.6094 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.3808, allocations: 7.984 kB / 0.6094 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3809, allocations: 0 / 0.6094 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3809, allocations: 8 kB / 0.6094 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3809, allocations: 0 / 0.6094 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3809, allocations: 3.938 kB / 0.6094 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.3811, allocations: 198.8 kB / 0.6096 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.3813, allocations: 168.5 kB / 0.6098 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.3813, allocations: 0 / 0.6098 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.3814, allocations: 4 kB / 0.6098 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.3814, allocations: 3.984 kB / 0.6098 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.3814, allocations: 0 / 0.6098 GB, free: 9.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006718/0.3821, allocations: 0.6394 MB / 0.6104 GB, free: 8.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3821, allocations: 4.031 kB / 0.6104 GB, free: 8.656 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000266/0.3824, allocations: 55.94 kB / 0.6105 GB, free: 8.602 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006876/0.3831, allocations: 341.2 kB / 0.6108 GB, free: 8.395 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.3832, allocations: 35.86 kB / 0.6108 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3832, allocations: 0 / 0.6108 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.3833, allocations: 15.98 kB / 0.6108 GB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3836, allocations: 30.23 kB / 0.6109 GB, free: 8.312 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3847, allocations: 0.8893 MB / 0.6117 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3851, allocations: 0.8223 MB / 0.6125 GB, free: 6.551 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.3852, allocations: 44.22 kB / 0.6126 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3853, allocations: 19.44 kB / 0.6126 GB, free: 6.488 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3853, allocations: 0 / 0.6126 GB, free: 6.488 MB / 426.7 MB Notification: Performance of Templates: time 0.005287/0.3906, allocations: 2.275 MB / 0.6148 GB, free: 4.215 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches