Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.242/1.242, allocations: 223.2 MB / 241 MB, free: 10.13 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.0009139/0.0009138, allocations: 95.64 kB / 292.2 MB, free: 10.69 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.3399/0.3399, allocations: 44.21 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003118, allocations: 8 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3346, allocations: 61.91 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4496, allocations: 88.5 MB / 0.596 GB, free: 6.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4499, allocations: 75.94 kB / 0.5961 GB, free: 6.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01592/0.4658, allocations: 7.849 MB / 0.6037 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4659, allocations: 4 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.4659, allocations: 4 kB / 0.6037 GB, free: 14.66 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.0006736/0.4666, allocations: 0.6296 MB / 0.6044 GB, free: 13.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4666, allocations: 8.562 kB / 0.6044 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.4667, allocations: 43.44 kB / 0.6044 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.4672, allocations: 327.3 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4672, allocations: 4 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.4672, allocations: 8 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4674, allocations: 45.69 kB / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.4674, allocations: 0 / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4674, allocations: 8 kB / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4674, allocations: 0 / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.4675, allocations: 31.91 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.4681, allocations: 432.7 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4683, allocations: 50.48 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4683, allocations: 80 / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.4684, allocations: 38.56 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4684, allocations: 0 / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005953/0.469, allocations: 252 kB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.469, allocations: 55.36 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4701, allocations: 0.7862 MB / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.4701, allocations: 29.7 kB / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4703, allocations: 220.1 kB / 0.6066 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.4703, allocations: 19.66 kB / 0.6066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-06/0.4703, allocations: 0 / 0.6066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4704, allocations: 362.8 kB / 0.607 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.4705, allocations: 23.98 kB / 0.607 GB, free: 11.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.4706, allocations: 23.98 kB / 0.607 GB, free: 11.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.159e-05/0.4706, allocations: 23.98 kB / 0.607 GB, free: 11.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4706, allocations: 0 / 0.607 GB, free: 11.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002024/0.4708, allocations: 125.1 kB / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4709, allocations: 4 kB / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4709, allocations: 0 / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4709, allocations: 4 kB / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.471, allocations: 11.98 kB / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.471, allocations: 7.984 kB / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.4711, allocations: 15.89 kB / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4711, allocations: 0 / 0.6072 GB, free: 10.89 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 (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.0001678/0.4712, allocations: 213.8 kB / 0.6074 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.4713, allocations: 43.44 kB / 0.6074 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.4716, allocations: 141 kB / 0.6076 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.4716, allocations: 7.984 kB / 0.6076 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4716, allocations: 320 / 0.6076 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4716, allocations: 0 / 0.6076 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.4724, allocations: 0.5921 MB / 0.6082 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4724, allocations: 0 / 0.6082 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.4725, allocations: 12 kB / 0.6082 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4725, allocations: 3.984 kB / 0.6082 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4725, allocations: 0 / 0.6082 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4725, allocations: 0 / 0.6082 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.4725, allocations: 7.891 kB / 0.6082 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.4728, allocations: 223 kB / 0.6084 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.473, allocations: 160.5 kB / 0.6086 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.473, allocations: 4 kB / 0.6086 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.4731, allocations: 7.984 kB / 0.6086 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.4732, allocations: 4 kB / 0.6086 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.4732, allocations: 3.953 kB / 0.6086 GB, free: 9.371 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006229/0.4738, allocations: 0.6472 MB / 0.6092 GB, free: 8.727 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.595e-06/0.4738, allocations: 4 kB / 0.6092 GB, free: 8.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.4741, allocations: 55.94 kB / 0.6093 GB, free: 8.668 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 (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.000867/0.475, allocations: 411.8 kB / 0.6097 GB, free: 8.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.4752, allocations: 59.91 kB / 0.6097 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4752, allocations: 0 / 0.6097 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.4753, allocations: 27.98 kB / 0.6097 GB, free: 8.332 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.4755, allocations: 20.45 kB / 0.6098 GB, free: 8.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.4766, allocations: 0.9037 MB / 0.6106 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.477, allocations: 0.8301 MB / 0.6114 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.095e-05/0.4771, allocations: 40.12 kB / 0.6115 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.4771, allocations: 23.44 kB / 0.6115 GB, free: 6.461 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4772, allocations: 0 / 0.6115 GB, free: 6.461 MB / 426.7 MB Notification: Performance of Templates: time 0.005789/0.483, allocations: 2.434 MB / 0.6139 GB, free: 4.023 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches