Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 183.4 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.64/1.64, 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.0008175/0.0008176, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2374/0.2374, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5786, allocations: 86.8 MB / 0.5635 GB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.579, allocations: 79.11 kB / 0.5636 GB, free: 12.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.5966, allocations: 7.74 MB / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.5967, allocations: 0 / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.5967, allocations: 15.98 kB / 0.5712 GB, free: 5.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009089/0.5976, allocations: 0.6371 MB / 0.5718 GB, free: 5.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.5977, allocations: 12.02 kB / 0.5718 GB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.5978, allocations: 47.39 kB / 0.5718 GB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.5984, allocations: 325.5 kB / 0.5722 GB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.5984, allocations: 11.12 kB / 0.5722 GB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5984, allocations: 0 / 0.5722 GB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5986, allocations: 64.92 kB / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5986, allocations: 0 / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5987, allocations: 0 / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5987, allocations: 0 / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.5988, allocations: 50.92 kB / 0.5723 GB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.5996, allocations: 435.8 kB / 0.5727 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.5997, allocations: 44.38 kB / 0.5727 GB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.5998, allocations: 96 / 0.5727 GB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5998, allocations: 39.3 kB / 0.5728 GB, free: 4.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.615e-06/0.5998, allocations: 3.984 kB / 0.5728 GB, free: 4.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009306/0.6008, allocations: 322.5 kB / 0.5731 GB, free: 3.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.6008, allocations: 51.41 kB / 0.5731 GB, free: 3.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.6021, allocations: 0.7937 MB / 0.5739 GB, free: 3.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.6021, allocations: 25.7 kB / 0.5739 GB, free: 3.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.6023, allocations: 212.1 kB / 0.5741 GB, free: 3.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.6024, allocations: 25.53 kB / 0.5742 GB, free: 3.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-06/0.6024, allocations: 0 / 0.5742 GB, free: 3.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.6026, allocations: 362.2 kB / 0.5745 GB, free: 2.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.6027, allocations: 35.42 kB / 0.5745 GB, free: 2.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.6029, allocations: 41.47 kB / 0.5746 GB, free: 2.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.603, allocations: 46.94 kB / 0.5746 GB, free: 2.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.603, allocations: 4 kB / 0.5746 GB, free: 2.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003188/0.6033, allocations: 159 kB / 0.5748 GB, free: 2.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.6034, allocations: 11.39 kB / 0.5748 GB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6034, allocations: 0 / 0.5748 GB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.6034, allocations: 4 kB / 0.5748 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.6036, allocations: 23.92 kB / 0.5748 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.6036, allocations: 320 / 0.5748 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.6037, allocations: 23.73 kB / 0.5748 GB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.6037, allocations: 0 / 0.5748 GB, free: 2.465 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0002187/0.6039, allocations: 207 kB / 0.575 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.604, allocations: 51.36 kB / 0.5751 GB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.6044, allocations: 193.8 kB / 0.5753 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6045, allocations: 0 / 0.5753 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6045, allocations: 0 / 0.5753 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6045, allocations: 0 / 0.5753 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.6056, allocations: 0.6379 MB / 0.5759 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6056, allocations: 0 / 0.5759 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.6057, allocations: 27.94 kB / 0.5759 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.6057, allocations: 8 kB / 0.5759 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.6057, allocations: 0 / 0.5759 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6057, allocations: 0 / 0.5759 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6057, allocations: 0 / 0.5759 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.6061, allocations: 257.9 kB / 0.5762 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.6064, allocations: 155.2 kB / 0.5763 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.6064, allocations: 10.52 kB / 0.5763 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.6065, allocations: 19.92 kB / 0.5764 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.6066, allocations: 11.98 kB / 0.5764 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.6066, allocations: 3.125 kB / 0.5764 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00063/0.6072, allocations: 0.6346 MB / 0.577 GB, free: 500 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6072, allocations: 4 kB / 0.577 GB, free: 496 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.6075, allocations: 59.75 kB / 0.577 GB, free: 440 kB / 378.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 (7): * Single equations (assignments): 7 * 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.0009211/0.6085, allocations: 407.6 kB / 0.5774 GB, free: 80 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.6088, allocations: 95.28 kB / 0.5775 GB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6088, allocations: 0 / 0.5775 GB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.6089, allocations: 55.36 kB / 0.5776 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.6092, allocations: 28.98 kB / 0.5776 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.6106, allocations: 0.9206 MB / 0.5785 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.611, allocations: 0.8292 MB / 0.5793 GB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.053e-05/0.6111, allocations: 44.53 kB / 0.5794 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.6112, allocations: 23.44 kB / 0.5794 GB, free: 14.15 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6112, allocations: 0 / 0.5794 GB, free: 14.15 MB / 394.7 MB Notification: Performance of Templates: time 0.00625/0.6175, allocations: 2.5 MB / 0.5818 GB, free: 11.66 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches