Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.525/1.525, allocations: 205.3 MB / 213.7 MB, free: 1.68 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.0008743/0.0008743, allocations: 86.3 kB / 261.7 MB, free: 1.629 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.2192/0.2192, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.451e-05, allocations: 4 kB / 418.3 MB, free: 28.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 58.86 MB / 477.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.5612, allocations: 86.54 MB / 0.5504 GB, free: 8.414 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5615, allocations: 83.77 kB / 0.5505 GB, free: 8.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.5759, allocations: 8.036 MB / 0.5584 GB, free: 1.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.576, allocations: 0 / 0.5584 GB, free: 1.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.576, allocations: 8 kB / 0.5584 GB, free: 1.512 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004613/0.5765, allocations: 0.5446 MB / 0.5589 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5765, allocations: 12.03 kB / 0.5589 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.5766, allocations: 47.39 kB / 0.559 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.577, allocations: 333.1 kB / 0.5593 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.577, allocations: 0 / 0.5593 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.5771, allocations: 4 kB / 0.5593 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.938e-05/0.5772, allocations: 15.06 kB / 0.5593 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.5773, allocations: 44.25 kB / 0.5593 GB, free: 496 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5773, allocations: 7.875 kB / 0.5593 GB, free: 488 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5773, allocations: 0 / 0.5593 GB, free: 488 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.5773, allocations: 7.953 kB / 0.5594 GB, free: 480 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.5778, allocations: 415.8 kB / 0.5597 GB, free: 80 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.578, allocations: 36.64 kB / 0.5598 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.578, allocations: 12.94 kB / 0.5598 GB, free: 24 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.5781, allocations: 0 / 0.5598 GB, free: 24 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.5781, allocations: 45.5 kB / 0.5598 GB, free: 15.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5781, allocations: 0 / 0.5598 GB, free: 15.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004802/0.5786, allocations: 197.4 kB / 0.56 GB, free: 15.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.5786, allocations: 51.41 kB / 0.5601 GB, free: 15.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.5797, allocations: 0.748 MB / 0.5608 GB, free: 15.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.5797, allocations: 25.7 kB / 0.5608 GB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.5799, allocations: 223.5 kB / 0.561 GB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.5799, allocations: 11.81 kB / 0.5611 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.58, allocations: 3.938 kB / 0.5611 GB, free: 14.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.5801, allocations: 356.7 kB / 0.5614 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.5802, allocations: 15.73 kB / 0.5614 GB, free: 14.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.5802, allocations: 10.75 kB / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.5802, allocations: 11.44 kB / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.5802, allocations: 0 / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001373/0.5804, allocations: 102.8 kB / 0.5615 GB, free: 14.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5804, allocations: 4 kB / 0.5615 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5804, allocations: 7.984 kB / 0.5615 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5805, allocations: 3.953 kB / 0.5615 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.5805, allocations: 16 kB / 0.5616 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.5805, allocations: 0 / 0.5616 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.5806, allocations: 15.92 kB / 0.5616 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.5806, allocations: 0 / 0.5616 GB, free: 14.46 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 (5): * Single equations (assignments): 5 * 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.000102/0.5808, allocations: 104.9 kB / 0.5617 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.5808, allocations: 47.44 kB / 0.5617 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.5811, allocations: 119.6 kB / 0.5618 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5811, allocations: 3.953 kB / 0.5618 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5811, allocations: 0 / 0.5618 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5811, allocations: 3.984 kB / 0.5618 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.5818, allocations: 0.5434 MB / 0.5624 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5818, allocations: 3.938 kB / 0.5624 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.5819, allocations: 19.98 kB / 0.5624 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.5819, allocations: 0 / 0.5624 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.5819, allocations: 3.953 kB / 0.5624 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5819, allocations: 4 kB / 0.5624 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5819, allocations: 0 / 0.5624 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.5821, allocations: 197.6 kB / 0.5626 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.5823, allocations: 158.7 kB / 0.5627 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.5823, allocations: 0 / 0.5627 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.5824, allocations: 12.09 kB / 0.5628 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5825, allocations: 11.97 kB / 0.5628 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.5825, allocations: 192 / 0.5628 GB, free: 13.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006684/0.5832, allocations: 0.608 MB / 0.5634 GB, free: 12.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.725e-06/0.5832, allocations: 0 / 0.5634 GB, free: 12.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.5835, allocations: 66.75 kB / 0.5634 GB, free: 12.77 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 (5): * Single equations (assignments): 5 * 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.0008917/0.5844, allocations: 331 kB / 0.5637 GB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.5845, allocations: 30.31 kB / 0.5638 GB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5846, allocations: 0 / 0.5638 GB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.5846, allocations: 19.75 kB / 0.5638 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.5849, allocations: 20.58 kB / 0.5638 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.586, allocations: 0.7143 MB / 0.5645 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.5865, allocations: 0.8383 MB / 0.5653 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.5867, allocations: 43.97 kB / 0.5654 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.5867, allocations: 23.44 kB / 0.5654 GB, free: 10.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5867, allocations: 0 / 0.5654 GB, free: 10.86 MB / 378.7 MB Notification: Performance of Templates: time 0.00565/0.5924, allocations: 2.122 MB / 0.5675 GB, free: 8.746 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches