Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 183.1 kB / 15.76 MB, free: 6.363 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.659/1.659, 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.001047/0.001047, allocations: 90.84 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.228/0.228, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5529, allocations: 87.1 MB / 0.5638 GB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5532, allocations: 75.19 kB / 0.5639 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.5647, allocations: 4.481 MB / 0.5683 GB, free: 9.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5648, allocations: 0 / 0.5683 GB, free: 9.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.5648, allocations: 0 / 0.5683 GB, free: 9.074 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.0005177/0.5653, allocations: 392.9 kB / 0.5686 GB, free: 8.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5654, allocations: 16.02 kB / 0.5686 GB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.5654, allocations: 14.61 kB / 0.5687 GB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.5657, allocations: 189.8 kB / 0.5688 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5657, allocations: 6.875 kB / 0.5688 GB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.5657, allocations: 4 kB / 0.5688 GB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.5659, allocations: 71.58 kB / 0.5689 GB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.566, allocations: 3.906 kB / 0.5689 GB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.566, allocations: 0 / 0.5689 GB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.566, allocations: 4 kB / 0.5689 GB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.5661, allocations: 43.59 kB / 0.569 GB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.5666, allocations: 289.4 kB / 0.5692 GB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.5667, allocations: 52.61 kB / 0.5693 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.5668, allocations: 0 / 0.5693 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.5668, allocations: 34.56 kB / 0.5693 GB, free: 7.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.5668, allocations: 0 / 0.5693 GB, free: 7.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008028/0.5676, allocations: 245 kB / 0.5696 GB, free: 7.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.5677, allocations: 81.09 kB / 0.5696 GB, free: 7.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.5679, allocations: 125.6 kB / 0.5698 GB, free: 7.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5679, allocations: 25.7 kB / 0.5698 GB, free: 7.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.568, allocations: 94.56 kB / 0.5699 GB, free: 7.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.568, allocations: 26.75 kB / 0.5699 GB, free: 7.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.568, allocations: 4 kB / 0.5699 GB, free: 7.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5682, allocations: 318.2 kB / 0.5702 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.5683, allocations: 45.97 kB / 0.5702 GB, free: 6.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.5684, allocations: 55.81 kB / 0.5703 GB, free: 6.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.5685, allocations: 41.66 kB / 0.5703 GB, free: 6.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5685, allocations: 4 kB / 0.5703 GB, free: 6.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002764/0.5688, allocations: 120.7 kB / 0.5705 GB, free: 6.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5688, allocations: 14.59 kB / 0.5705 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5688, allocations: 0 / 0.5705 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5689, allocations: 7.953 kB / 0.5705 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.569, allocations: 23.23 kB / 0.5705 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.569, allocations: 8.25 kB / 0.5705 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.5691, allocations: 15.92 kB / 0.5705 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.5691, allocations: 4 kB / 0.5705 GB, free: 6.652 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 9.431e-05/0.5692, allocations: 117.7 kB / 0.5706 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.5692, allocations: 7.906 kB / 0.5706 GB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.5696, allocations: 146.9 kB / 0.5708 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.5696, allocations: 7.953 kB / 0.5708 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5696, allocations: 0 / 0.5708 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5696, allocations: 0 / 0.5708 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.5702, allocations: 409.4 kB / 0.5712 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5702, allocations: 0 / 0.5712 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-05/0.5703, allocations: 23.73 kB / 0.5712 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5703, allocations: 7.953 kB / 0.5712 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.5703, allocations: 0 / 0.5712 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5703, allocations: 0 / 0.5712 GB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5703, allocations: 4 kB / 0.5712 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.5707, allocations: 224.5 kB / 0.5714 GB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.5707, allocations: 89.28 kB / 0.5715 GB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.5708, allocations: 3.953 kB / 0.5715 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.5709, allocations: 19.05 kB / 0.5715 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.5709, allocations: 7.969 kB / 0.5715 GB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.5709, allocations: 4 kB / 0.5716 GB, free: 5.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.625e-05/0.571, allocations: 109.7 kB / 0.5717 GB, free: 5.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.571, allocations: 4 kB / 0.5717 GB, free: 5.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.5713, allocations: 39.17 kB / 0.5717 GB, free: 5.441 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 () * 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.00102/0.5723, allocations: 446.4 kB / 0.5721 GB, free: 5.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.5726, allocations: 101.4 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5726, allocations: 0 / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.5728, allocations: 48 kB / 0.5723 GB, free: 4.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.573, allocations: 15.09 kB / 0.5723 GB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.5734, allocations: 192.6 kB / 0.5725 GB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5738, allocations: 0.7048 MB / 0.5732 GB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.5738, allocations: 8 kB / 0.5732 GB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.5739, allocations: 20.48 kB / 0.5732 GB, free: 3.961 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5739, allocations: 0 / 0.5732 GB, free: 3.961 MB / 378.7 MB Notification: Performance of Templates: time 0.003947/0.5779, allocations: 1.416 MB / 0.5746 GB, free: 2.555 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches