Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009501/0.0009501, allocations: 90.14 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2228/0.2228, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.645e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 58.86 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5766, allocations: 87.83 MB / 0.5517 GB, free: 7.434 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.5768, allocations: 76.98 kB / 0.5518 GB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01809/0.5949, allocations: 8.326 MB / 0.5599 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.595, allocations: 3.938 kB / 0.5599 GB, free: 0.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.595, allocations: 4 kB / 0.5599 GB, free: 0.7031 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004786/0.5955, allocations: 0.543 MB / 0.5604 GB, free: 136 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.5956, allocations: 8.031 kB / 0.5605 GB, free: 128 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.5956, allocations: 43.48 kB / 0.5605 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.5961, allocations: 341.5 kB / 0.5608 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.5961, allocations: 0 / 0.5608 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.5961, allocations: 11.91 kB / 0.5608 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001342/0.5963, allocations: 55.11 kB / 0.5609 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.5965, allocations: 88.67 kB / 0.561 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5965, allocations: 0 / 0.561 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5965, allocations: 0 / 0.561 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.5965, allocations: 7.953 kB / 0.561 GB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.5971, allocations: 477.3 kB / 0.5614 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.5972, allocations: 77.81 kB / 0.5615 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.5973, allocations: 24.89 kB / 0.5615 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.5973, allocations: 7.938 kB / 0.5615 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.5974, allocations: 34.5 kB / 0.5616 GB, free: 15.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.5974, allocations: 0 / 0.5616 GB, free: 15.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006566/0.598, allocations: 313.9 kB / 0.5619 GB, free: 14.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.5981, allocations: 55.41 kB / 0.5619 GB, free: 14.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.5986, allocations: 465.3 kB / 0.5624 GB, free: 14.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.5986, allocations: 29.7 kB / 0.5624 GB, free: 14.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.5987, allocations: 204.3 kB / 0.5626 GB, free: 14.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.5988, allocations: 59.06 kB / 0.5626 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.5988, allocations: 0 / 0.5626 GB, free: 14.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5989, allocations: 354.2 kB / 0.563 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.599, allocations: 39 kB / 0.563 GB, free: 13.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.599, allocations: 39 kB / 0.5631 GB, free: 13.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.5991, allocations: 43.2 kB / 0.5631 GB, free: 13.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5991, allocations: 3.938 kB / 0.5631 GB, free: 13.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000205/0.5993, allocations: 171.7 kB / 0.5633 GB, free: 13.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5994, allocations: 4 kB / 0.5633 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5994, allocations: 0 / 0.5633 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.5994, allocations: 0 / 0.5633 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.5996, allocations: 39.91 kB / 0.5633 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5996, allocations: 8 kB / 0.5633 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.5996, allocations: 7.906 kB / 0.5633 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5997, allocations: 8 kB / 0.5633 GB, free: 13.49 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.273e-05/0.5997, allocations: 108.9 kB / 0.5634 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.5998, allocations: 35.53 kB / 0.5635 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.6001, allocations: 205.8 kB / 0.5637 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.6002, allocations: 4 kB / 0.5637 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6002, allocations: 0 / 0.5637 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6002, allocations: 3.984 kB / 0.5637 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/0.6008, allocations: 0.6159 MB / 0.5643 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6008, allocations: 0 / 0.5643 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.601, allocations: 38.91 kB / 0.5643 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.601, allocations: 8 kB / 0.5643 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.601, allocations: 0 / 0.5643 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.601, allocations: 0 / 0.5643 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.601, allocations: 0 / 0.5643 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.6013, allocations: 271.9 kB / 0.5646 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.6014, allocations: 145.4 kB / 0.5647 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.6014, allocations: 0 / 0.5647 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.6015, allocations: 15.98 kB / 0.5647 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.6016, allocations: 7.984 kB / 0.5647 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.6016, allocations: 4 kB / 0.5647 GB, free: 12.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003527/0.602, allocations: 383.4 kB / 0.5651 GB, free: 11.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.602, allocations: 0 / 0.5651 GB, free: 11.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.6023, allocations: 71.58 kB / 0.5652 GB, free: 11.8 MB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.00128/0.6036, allocations: 0.5706 MB / 0.5657 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.6038, allocations: 108.1 kB / 0.5658 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6038, allocations: 0 / 0.5658 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.6039, allocations: 66.36 kB / 0.5659 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.6043, allocations: 63.84 kB / 0.566 GB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.6051, allocations: 0.5065 MB / 0.5665 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.6055, allocations: 0.8092 MB / 0.5673 GB, free: 9.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.6057, allocations: 58.02 kB / 0.5673 GB, free: 9.758 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.6057, allocations: 34.73 kB / 0.5673 GB, free: 9.727 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6058, allocations: 0 / 0.5673 GB, free: 9.727 MB / 378.7 MB Notification: Performance of Templates: time 0.006317/0.6121, allocations: 3.328 MB / 0.5706 GB, free: 6.402 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches