Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000791/0.000791, allocations: 179.8 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.3 MB / 242.1 MB, free: 9.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007262/0.0007262, allocations: 99.23 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2802/0.2802, allocations: 44.14 MB / 388.5 MB, free: 38.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 16 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2677, allocations: 61.87 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09831/0.3661, allocations: 88.47 MB / 0.5971 GB, free: 6.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.3664, allocations: 71.95 kB / 0.5972 GB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.3831, allocations: 7.9 MB / 0.6049 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3832, allocations: 11.94 kB / 0.6049 GB, free: 14.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.3832, allocations: 4 kB / 0.6049 GB, free: 14.6 MB / 426.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.0007422/0.3839, allocations: 0.6338 MB / 0.6055 GB, free: 13.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.384, allocations: 8.031 kB / 0.6055 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.3841, allocations: 44.38 kB / 0.6056 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.3845, allocations: 344.1 kB / 0.6059 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3846, allocations: 4.375 kB / 0.6059 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3846, allocations: 384 / 0.6059 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3848, allocations: 70.17 kB / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3848, allocations: 192 / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3848, allocations: 3.938 kB / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3848, allocations: 0 / 0.606 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.385, allocations: 55.89 kB / 0.606 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.3855, allocations: 432.7 kB / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3857, allocations: 50.5 kB / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.3857, allocations: 28.94 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3858, allocations: 4 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3858, allocations: 30.56 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3858, allocations: 0 / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007591/0.3866, allocations: 323.8 kB / 0.6069 GB, free: 12.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.3866, allocations: 51.41 kB / 0.6069 GB, free: 12.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.3878, allocations: 0.8456 MB / 0.6077 GB, free: 11.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3878, allocations: 25.7 kB / 0.6078 GB, free: 11.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.388, allocations: 220 kB / 0.608 GB, free: 11.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.388, allocations: 23.72 kB / 0.608 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.388, allocations: 8 kB / 0.608 GB, free: 11.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3882, allocations: 362.7 kB / 0.6084 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3883, allocations: 35.98 kB / 0.6084 GB, free: 10.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3884, allocations: 43.97 kB / 0.6084 GB, free: 10.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.3886, allocations: 92.8 kB / 0.6085 GB, free: 10.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3886, allocations: 0 / 0.6085 GB, free: 10.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002954/0.3889, allocations: 161 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.389, allocations: 9.703 kB / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.389, allocations: 0 / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.389, allocations: 288 / 0.6087 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3891, allocations: 23.98 kB / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3891, allocations: 0 / 0.6087 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.3892, allocations: 15.98 kB / 0.6087 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3892, allocations: 4 kB / 0.6087 GB, free: 10.47 MB / 426.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 0.0001772/0.3894, allocations: 214.2 kB / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.3895, allocations: 47.42 kB / 0.609 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.3898, allocations: 193.6 kB / 0.6092 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3898, allocations: 4 kB / 0.6092 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3898, allocations: 0 / 0.6092 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3898, allocations: 0 / 0.6092 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.3906, allocations: 0.6349 MB / 0.6098 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3907, allocations: 0 / 0.6098 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.3908, allocations: 23.97 kB / 0.6098 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3908, allocations: 4 kB / 0.6098 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3908, allocations: 4 kB / 0.6098 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3908, allocations: 0 / 0.6098 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3908, allocations: 3.938 kB / 0.6098 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.3911, allocations: 258.9 kB / 0.6101 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.3913, allocations: 160.6 kB / 0.6102 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3914, allocations: 3.938 kB / 0.6102 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3915, allocations: 19.98 kB / 0.6102 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.3915, allocations: 15.86 kB / 0.6103 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3915, allocations: 8 kB / 0.6103 GB, free: 8.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006689/0.3922, allocations: 0.6393 MB / 0.6109 GB, free: 8.148 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3922, allocations: 0 / 0.6109 GB, free: 8.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.3925, allocations: 59.94 kB / 0.6109 GB, free: 8.09 MB / 426.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.0008211/0.3933, allocations: 407 kB / 0.6113 GB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3936, allocations: 95.94 kB / 0.6114 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3936, allocations: 0 / 0.6114 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3937, allocations: 51.91 kB / 0.6115 GB, free: 7.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3941, allocations: 32.23 kB / 0.6115 GB, free: 7.676 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3953, allocations: 0.9275 MB / 0.6124 GB, free: 6.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3957, allocations: 0.8224 MB / 0.6132 GB, free: 5.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.085e-05/0.3958, allocations: 47.88 kB / 0.6133 GB, free: 5.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.3959, allocations: 19.44 kB / 0.6133 GB, free: 5.809 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3959, allocations: 4 kB / 0.6133 GB, free: 5.805 MB / 426.7 MB Notification: Performance of Templates: time 0.005911/0.4018, allocations: 2.496 MB / 0.6157 GB, free: 3.305 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches