Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.344/1.344, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.000762/0.000762, allocations: 91.09 kB / 267.1 MB, free: 9.281 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.3588/0.3588, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.228e-05, allocations: 4 kB / 425.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 58.84 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3899/0.5297, allocations: 87.13 MB / 0.5579 GB, free: 16.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5299, allocations: 73.38 kB / 0.558 GB, free: 16.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.5402, allocations: 4.284 MB / 0.5622 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.5402, allocations: 4 kB / 0.5622 GB, free: 14.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.5402, allocations: 4 kB / 0.5622 GB, free: 14.42 MB / 394.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.0003528/0.5406, allocations: 390.3 kB / 0.5625 GB, free: 14.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.5407, allocations: 17.48 kB / 0.5625 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.5407, allocations: 8.453 kB / 0.5626 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.5409, allocations: 199.5 kB / 0.5627 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.5409, allocations: 0 / 0.5627 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.541, allocations: 11.09 kB / 0.5628 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5411, allocations: 46.59 kB / 0.5628 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5411, allocations: 1.375 kB / 0.5628 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5411, allocations: 3.812 kB / 0.5628 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5411, allocations: 0 / 0.5628 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/0.5412, allocations: 25.47 kB / 0.5628 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.5416, allocations: 322.6 kB / 0.5631 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.5417, allocations: 42.08 kB / 0.5632 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.5417, allocations: 13.58 kB / 0.5632 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.5418, allocations: 8 kB / 0.5632 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.5418, allocations: 34.5 kB / 0.5632 GB, free: 13.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5418, allocations: 0 / 0.5632 GB, free: 13.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004711/0.5423, allocations: 162.8 kB / 0.5634 GB, free: 13.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.5423, allocations: 52.72 kB / 0.5634 GB, free: 13.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.5425, allocations: 177.4 kB / 0.5636 GB, free: 12.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.5425, allocations: 29.7 kB / 0.5636 GB, free: 12.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.5425, allocations: 101.3 kB / 0.5637 GB, free: 12.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.5426, allocations: 20.72 kB / 0.5638 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.5426, allocations: 0 / 0.5638 GB, free: 12.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.5426, allocations: 320.1 kB / 0.5641 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.5427, allocations: 23.41 kB / 0.5641 GB, free: 12.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.5427, allocations: 18.23 kB / 0.5641 GB, free: 12.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.5428, allocations: 29.45 kB / 0.5641 GB, free: 12.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5428, allocations: 8 kB / 0.5641 GB, free: 12.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000115/0.5429, allocations: 87.25 kB / 0.5642 GB, free: 12.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5429, allocations: 9.359 kB / 0.5642 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5429, allocations: 0 / 0.5642 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.5429, allocations: 3.953 kB / 0.5642 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5431, allocations: 24.86 kB / 0.5643 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.5431, allocations: 4 kB / 0.5643 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.5432, allocations: 25.42 kB / 0.5643 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.5432, allocations: 4 kB / 0.5643 GB, free: 12.33 MB / 394.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 (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 4.565e-05/0.5432, allocations: 104.9 kB / 0.5644 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.5433, allocations: 7.906 kB / 0.5644 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.5434, allocations: 108.1 kB / 0.5645 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5434, allocations: 11.94 kB / 0.5645 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5435, allocations: 0 / 0.5645 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5435, allocations: 1.641 kB / 0.5645 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.5438, allocations: 389.6 kB / 0.5649 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5438, allocations: 0 / 0.5649 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.516e-05/0.5439, allocations: 19.89 kB / 0.5649 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5439, allocations: 7.953 kB / 0.5649 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.5439, allocations: 0 / 0.5649 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5439, allocations: 5.219 kB / 0.5649 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5439, allocations: 5.25 kB / 0.5649 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.5441, allocations: 189.1 kB / 0.5651 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.5441, allocations: 95.02 kB / 0.5652 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5442, allocations: 3.953 kB / 0.5652 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.084e-05/0.5443, allocations: 11.52 kB / 0.5652 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.5443, allocations: 9.891 kB / 0.5652 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.5443, allocations: 5.312 kB / 0.5652 GB, free: 11.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.866e-05/0.5444, allocations: 137.6 kB / 0.5653 GB, free: 11.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5444, allocations: 0 / 0.5653 GB, free: 11.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000218/0.5447, allocations: 24.59 kB / 0.5654 GB, free: 11.3 MB / 394.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 (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.0008062/0.5455, allocations: 381.2 kB / 0.5657 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.5456, allocations: 50.81 kB / 0.5658 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5456, allocations: 3.812 kB / 0.5658 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.5457, allocations: 33.11 kB / 0.5658 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.5459, allocations: 18.5 kB / 0.5658 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.5462, allocations: 164.6 kB / 0.566 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.5464, allocations: 0.7155 MB / 0.5667 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.155e-05/0.5465, allocations: 25.98 kB / 0.5667 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.5465, allocations: 16.7 kB / 0.5667 GB, free: 10.04 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5465, allocations: 0 / 0.5667 GB, free: 10.04 MB / 394.7 MB Notification: Performance of Templates: time 0.003469/0.55, allocations: 1.285 MB / 0.568 GB, free: 8.867 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches