Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 176.9 kB / 16.76 MB, free: 4.93 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.68/1.68, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0009755/0.0009755, allocations: 89.17 kB / 271.3 MB, free: 8.234 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.3835/0.3835, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005375, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1544, allocations: 58.86 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.5053, allocations: 87.09 MB / 0.565 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.5055, allocations: 71.97 kB / 0.5651 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.5233, allocations: 7.938 MB / 0.5728 GB, free: 6.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5234, allocations: 1.391 kB / 0.5728 GB, free: 6.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.5234, allocations: 4 kB / 0.5728 GB, free: 6.902 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007373/0.5242, allocations: 0.6332 MB / 0.5735 GB, free: 6.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5242, allocations: 8.031 kB / 0.5735 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.5243, allocations: 48.38 kB / 0.5735 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.5247, allocations: 348.2 kB / 0.5738 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.5248, allocations: 4.375 kB / 0.5738 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.5248, allocations: 4.375 kB / 0.5738 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.5249, allocations: 54.23 kB / 0.5739 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.525, allocations: 3.281 kB / 0.5739 GB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.525, allocations: 3.938 kB / 0.5739 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.525, allocations: 0 / 0.5739 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.5251, allocations: 51.91 kB / 0.574 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.5257, allocations: 444.8 kB / 0.5744 GB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.5259, allocations: 50.48 kB / 0.5744 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.5259, allocations: 28.94 kB / 0.5745 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.526, allocations: 0 / 0.5745 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.526, allocations: 46.5 kB / 0.5745 GB, free: 5.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.526, allocations: 0 / 0.5745 GB, free: 5.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003353/0.5264, allocations: 137.1 kB / 0.5746 GB, free: 4.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5264, allocations: 51.41 kB / 0.5747 GB, free: 4.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.5276, allocations: 0.8534 MB / 0.5755 GB, free: 3.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.5276, allocations: 25.7 kB / 0.5755 GB, free: 3.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.5278, allocations: 212.1 kB / 0.5757 GB, free: 3.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.5278, allocations: 7.906 kB / 0.5757 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.5278, allocations: 0 / 0.5757 GB, free: 3.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.528, allocations: 362.8 kB / 0.5761 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-05/0.5281, allocations: 15.98 kB / 0.5761 GB, free: 3.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.5282, allocations: 27.98 kB / 0.5761 GB, free: 3.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.5283, allocations: 52.77 kB / 0.5762 GB, free: 3.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5283, allocations: 3.938 kB / 0.5762 GB, free: 3.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002057/0.5285, allocations: 125.4 kB / 0.5763 GB, free: 3.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5285, allocations: 6.656 kB / 0.5763 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5285, allocations: 0 / 0.5763 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5286, allocations: 0 / 0.5763 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.758e-05/0.5286, allocations: 15.98 kB / 0.5763 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5287, allocations: 0 / 0.5763 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.5287, allocations: 8.047 kB / 0.5763 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.5287, allocations: 3.984 kB / 0.5763 GB, free: 3.094 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001748/0.5289, allocations: 221.7 kB / 0.5766 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.529, allocations: 43.44 kB / 0.5766 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.5293, allocations: 140.9 kB / 0.5767 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5293, allocations: 1.219 kB / 0.5767 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5293, allocations: 6.688 kB / 0.5767 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5293, allocations: 0 / 0.5767 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.5296, allocations: 333.3 kB / 0.5771 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5296, allocations: 0 / 0.5771 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.5297, allocations: 11.98 kB / 0.5771 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5297, allocations: 0 / 0.5771 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.5297, allocations: 0 / 0.5771 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5297, allocations: 0 / 0.5771 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5297, allocations: 8 kB / 0.5771 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.53, allocations: 218.8 kB / 0.5773 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.5301, allocations: 160.6 kB / 0.5774 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.5302, allocations: 0 / 0.5774 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.5303, allocations: 11.94 kB / 0.5774 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.5303, allocations: 7.984 kB / 0.5775 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5303, allocations: 3.938 kB / 0.5775 GB, free: 1.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006536/0.531, allocations: 0.6355 MB / 0.5781 GB, free: 1.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.531, allocations: 0 / 0.5781 GB, free: 1.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.5313, allocations: 52 kB / 0.5781 GB, free: 1.164 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007549/0.532, allocations: 350.2 kB / 0.5785 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.5322, allocations: 47.91 kB / 0.5785 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5322, allocations: 4 kB / 0.5785 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.5323, allocations: 27.97 kB / 0.5785 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.5327, allocations: 25.91 kB / 0.5786 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.5338, allocations: 0.8921 MB / 0.5794 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.5342, allocations: 0.8262 MB / 0.5802 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.455e-05/0.5343, allocations: 52.14 kB / 0.5803 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.5343, allocations: 23.44 kB / 0.5803 GB, free: 14.97 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5344, allocations: 0 / 0.5803 GB, free: 14.97 MB / 410.7 MB Notification: Performance of Templates: time 0.005649/0.54, allocations: 2.305 MB / 0.5826 GB, free: 12.66 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches