Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, 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.759/1.759, 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.001194/0.001194, allocations: 94.86 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.2149/0.2149, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.563, allocations: 87.48 MB / 0.5642 GB, free: 12.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5633, allocations: 71.47 kB / 0.5642 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.5758, allocations: 4.596 MB / 0.5687 GB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.105e-06/0.5759, allocations: 0 / 0.5687 GB, free: 8.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.5759, allocations: 4 kB / 0.5687 GB, free: 8.582 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.0005485/0.5764, allocations: 397.9 kB / 0.5691 GB, free: 8.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.5765, allocations: 20.02 kB / 0.5691 GB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.5766, allocations: 11.86 kB / 0.5691 GB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.5769, allocations: 194.2 kB / 0.5693 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5769, allocations: 4 kB / 0.5693 GB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.5769, allocations: 0 / 0.5693 GB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.5771, allocations: 77.64 kB / 0.5694 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5772, allocations: 0 / 0.5694 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5772, allocations: 4 kB / 0.5694 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5772, allocations: 0 / 0.5694 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.5773, allocations: 54.41 kB / 0.5695 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.5779, allocations: 317.5 kB / 0.5698 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.5781, allocations: 49.06 kB / 0.5698 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.5781, allocations: 3.625 kB / 0.5698 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.5782, allocations: 34.5 kB / 0.5699 GB, free: 7.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.5782, allocations: 7.938 kB / 0.5699 GB, free: 7.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009244/0.5791, allocations: 257.8 kB / 0.5701 GB, free: 7.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.5792, allocations: 80.8 kB / 0.5702 GB, free: 7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.5793, allocations: 138.2 kB / 0.5703 GB, free: 6.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5794, allocations: 29.7 kB / 0.5703 GB, free: 6.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.5794, allocations: 91.44 kB / 0.5704 GB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.5795, allocations: 23.34 kB / 0.5705 GB, free: 6.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.5795, allocations: 0 / 0.5705 GB, free: 6.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5797, allocations: 322.6 kB / 0.5708 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.5798, allocations: 47.41 kB / 0.5708 GB, free: 6.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.5799, allocations: 64.73 kB / 0.5709 GB, free: 6.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.5801, allocations: 47.3 kB / 0.5709 GB, free: 6.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5801, allocations: 0 / 0.5709 GB, free: 6.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003067/0.5804, allocations: 151.5 kB / 0.5711 GB, free: 6.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5804, allocations: 7.984 kB / 0.5711 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.5804, allocations: 0 / 0.5711 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5804, allocations: 3.953 kB / 0.5711 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5806, allocations: 23.98 kB / 0.5711 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5806, allocations: 0 / 0.5711 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.5807, allocations: 15.98 kB / 0.5711 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.5807, allocations: 7.562 kB / 0.5711 GB, free: 6.078 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.557e-05/0.5808, allocations: 113.5 kB / 0.5712 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.5808, allocations: 7.906 kB / 0.5712 GB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.5812, allocations: 158.4 kB / 0.5714 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5812, allocations: 0 / 0.5714 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.5812, allocations: 7.938 kB / 0.5714 GB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5812, allocations: 0 / 0.5714 GB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.5818, allocations: 427.5 kB / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5818, allocations: 0 / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.5819, allocations: 27.92 kB / 0.5718 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5819, allocations: 7.938 kB / 0.5718 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.5819, allocations: 3.953 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5819, allocations: 0 / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5819, allocations: 0 / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.5823, allocations: 235.7 kB / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.5824, allocations: 86.94 kB / 0.5721 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.5824, allocations: 4.875 kB / 0.5721 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.5825, allocations: 20.94 kB / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.5825, allocations: 8.734 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.5826, allocations: 0.6875 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.894e-05/0.5826, allocations: 116.4 kB / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5827, allocations: 0 / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000274/0.5829, allocations: 39.36 kB / 0.5723 GB, free: 4.836 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.001088/0.584, allocations: 453.3 kB / 0.5728 GB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.5844, allocations: 108.1 kB / 0.5729 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5844, allocations: 0 / 0.5729 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.5846, allocations: 61.27 kB / 0.5729 GB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.5848, allocations: 11.38 kB / 0.5729 GB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.5853, allocations: 218.2 kB / 0.5731 GB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.5856, allocations: 0.6999 MB / 0.5738 GB, free: 3.352 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.783e-05/0.5857, allocations: 24.66 kB / 0.5738 GB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.5858, allocations: 15.42 kB / 0.5739 GB, free: 3.309 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5858, allocations: 0 / 0.5739 GB, free: 3.309 MB / 378.7 MB Notification: Performance of Templates: time 0.004878/0.5907, allocations: 1.465 MB / 0.5753 GB, free: 1.855 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches