Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00223/0.00223, allocations: 182.8 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.674/1.674, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008668/0.0008668, allocations: 94.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.3111/0.3111, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5979, allocations: 86.88 MB / 0.5636 GB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.5983, allocations: 78.64 kB / 0.5637 GB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.615, allocations: 7.689 MB / 0.5712 GB, free: 5.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6151, allocations: 0 / 0.5712 GB, free: 5.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.6151, allocations: 4 kB / 0.5712 GB, free: 5.969 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.0007026/0.6158, allocations: 0.6382 MB / 0.5718 GB, free: 5.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6159, allocations: 12.02 kB / 0.5718 GB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.616, allocations: 51.39 kB / 0.5719 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.6165, allocations: 321.6 kB / 0.5722 GB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.6165, allocations: 11.3 kB / 0.5722 GB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.6165, allocations: 4 kB / 0.5722 GB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.6167, allocations: 48.62 kB / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6167, allocations: 0 / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6167, allocations: 7.984 kB / 0.5722 GB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6167, allocations: 0 / 0.5722 GB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.6168, allocations: 31.38 kB / 0.5723 GB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.6175, allocations: 436.9 kB / 0.5727 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.6177, allocations: 41.81 kB / 0.5727 GB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.6177, allocations: 4 kB / 0.5727 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.6178, allocations: 38.52 kB / 0.5728 GB, free: 4.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6178, allocations: 0 / 0.5728 GB, free: 4.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006393/0.6184, allocations: 243 kB / 0.573 GB, free: 4.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.6185, allocations: 51.41 kB / 0.573 GB, free: 4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.6196, allocations: 0.784 MB / 0.5738 GB, free: 3.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.6197, allocations: 25.7 kB / 0.5738 GB, free: 3.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.6199, allocations: 225 kB / 0.5741 GB, free: 3.227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.6199, allocations: 15.31 kB / 0.5741 GB, free: 3.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.6199, allocations: 0 / 0.5741 GB, free: 3.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6201, allocations: 366.5 kB / 0.5744 GB, free: 2.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.6202, allocations: 23.3 kB / 0.5744 GB, free: 2.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.6202, allocations: 27.23 kB / 0.5745 GB, free: 2.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.952e-05/0.6203, allocations: 23.36 kB / 0.5745 GB, free: 2.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.6203, allocations: 4 kB / 0.5745 GB, free: 2.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002124/0.6205, allocations: 115.2 kB / 0.5746 GB, free: 2.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6206, allocations: 7.953 kB / 0.5746 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6206, allocations: 0 / 0.5746 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.6206, allocations: 7.938 kB / 0.5746 GB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.6207, allocations: 19.98 kB / 0.5746 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6207, allocations: 0 / 0.5746 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.6208, allocations: 19.08 kB / 0.5747 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.6208, allocations: 4 kB / 0.5747 GB, free: 2.637 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 (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.0001971/0.621, allocations: 204.4 kB / 0.5749 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.6211, allocations: 43.47 kB / 0.5749 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.6214, allocations: 159.4 kB / 0.575 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6214, allocations: 0 / 0.575 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6214, allocations: 0 / 0.575 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6214, allocations: 0 / 0.575 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.6224, allocations: 0.5902 MB / 0.5756 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6224, allocations: 0 / 0.5756 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.6224, allocations: 19.94 kB / 0.5756 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6224, allocations: 0 / 0.5756 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.6225, allocations: 2.625 kB / 0.5756 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6225, allocations: 3.984 kB / 0.5756 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6225, allocations: 0 / 0.5756 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.6227, allocations: 217.6 kB / 0.5759 GB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.623, allocations: 163 kB / 0.576 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.623, allocations: 11.94 kB / 0.576 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.6231, allocations: 4 kB / 0.576 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.6232, allocations: 15.75 kB / 0.576 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.6232, allocations: 0 / 0.576 GB, free: 1.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006584/0.6239, allocations: 0.6416 MB / 0.5767 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6239, allocations: 0 / 0.5767 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000293/0.6242, allocations: 51.06 kB / 0.5767 GB, free: 0.7305 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 (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.0009176/0.6251, allocations: 415.1 kB / 0.5771 GB, free: 388 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.6253, allocations: 56.91 kB / 0.5772 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6253, allocations: 0 / 0.5772 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.6254, allocations: 34.73 kB / 0.5772 GB, free: 312 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.6257, allocations: 24.08 kB / 0.5772 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.627, allocations: 0.9033 MB / 0.5781 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.6274, allocations: 0.8256 MB / 0.5789 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.565e-05/0.6275, allocations: 36.25 kB / 0.5789 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.6275, allocations: 23.42 kB / 0.579 GB, free: 14.53 MB / 394.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6276, allocations: 0 / 0.579 GB, free: 14.53 MB / 394.7 MB Notification: Performance of Templates: time 0.006271/0.6338, allocations: 2.422 MB / 0.5813 GB, free: 12.11 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches