Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 183 kB / 18.09 MB, free: 3.727 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.212/1.212, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0007951/0.0007951, allocations: 93.59 kB / 293.3 MB, free: 10.78 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.2722/0.2722, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2725, allocations: 61.88 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09858/0.3711, allocations: 88.58 MB / 0.5972 GB, free: 6.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3714, allocations: 75.95 kB / 0.5973 GB, free: 6.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.3883, allocations: 8.422 MB / 0.6055 GB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3883, allocations: 0 / 0.6055 GB, free: 13.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.3884, allocations: 4 kB / 0.6055 GB, free: 13.97 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006715/0.389, allocations: 0.6416 MB / 0.6062 GB, free: 13.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3891, allocations: 8.031 kB / 0.6062 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.3892, allocations: 48.38 kB / 0.6062 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.3896, allocations: 348.1 kB / 0.6065 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3896, allocations: 4.375 kB / 0.6065 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3897, allocations: 8.359 kB / 0.6066 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3898, allocations: 78.11 kB / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3898, allocations: 192 / 0.6066 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3899, allocations: 3.938 kB / 0.6066 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3899, allocations: 3.984 kB / 0.6066 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.39, allocations: 43.97 kB / 0.6067 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.3906, allocations: 460.5 kB / 0.6071 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.3908, allocations: 54.56 kB / 0.6072 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.3909, allocations: 32.97 kB / 0.6072 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3909, allocations: 3.984 kB / 0.6072 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.391, allocations: 34.56 kB / 0.6072 GB, free: 12.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.391, allocations: 3.938 kB / 0.6072 GB, free: 12.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.3924, allocations: 0.5283 MB / 0.6078 GB, free: 11.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3925, allocations: 55.41 kB / 0.6078 GB, free: 11.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3937, allocations: 0.8417 MB / 0.6086 GB, free: 10.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3937, allocations: 33.7 kB / 0.6087 GB, free: 10.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.3938, allocations: 212 kB / 0.6089 GB, free: 10.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3939, allocations: 39.45 kB / 0.6089 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.3939, allocations: 4 kB / 0.6089 GB, free: 10.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.394, allocations: 358.8 kB / 0.6093 GB, free: 9.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3941, allocations: 51.97 kB / 0.6093 GB, free: 9.891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3943, allocations: 51.97 kB / 0.6094 GB, free: 9.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.3945, allocations: 116.8 kB / 0.6095 GB, free: 9.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3945, allocations: 0 / 0.6095 GB, free: 9.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003171/0.3948, allocations: 193 kB / 0.6096 GB, free: 9.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3949, allocations: 4 kB / 0.6097 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3949, allocations: 0 / 0.6097 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3949, allocations: 4 kB / 0.6097 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.395, allocations: 27.98 kB / 0.6097 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.395, allocations: 0 / 0.6097 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.3951, allocations: 23.92 kB / 0.6097 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3951, allocations: 4 kB / 0.6097 GB, free: 9.465 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 (11): * Single equations (assignments): 11 * 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.0001851/0.3953, allocations: 214.2 kB / 0.6099 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.3954, allocations: 47.42 kB / 0.61 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.3958, allocations: 221.8 kB / 0.6102 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3958, allocations: 0 / 0.6102 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3958, allocations: 0 / 0.6102 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3958, allocations: 3.938 kB / 0.6102 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/0.3967, allocations: 0.7145 MB / 0.6109 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3967, allocations: 4.062 kB / 0.6109 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.3968, allocations: 36.47 kB / 0.6109 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3968, allocations: 0 / 0.6109 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3968, allocations: 4 kB / 0.6109 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3968, allocations: 7.938 kB / 0.6109 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3968, allocations: 0 / 0.6109 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.3972, allocations: 304.6 kB / 0.6112 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3973, allocations: 164.5 kB / 0.6114 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.3974, allocations: 8 kB / 0.6114 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3975, allocations: 15.98 kB / 0.6114 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3976, allocations: 11.92 kB / 0.6114 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.3976, allocations: 8 kB / 0.6114 GB, free: 7.602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005924/0.3982, allocations: 0.6315 MB / 0.612 GB, free: 6.973 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3982, allocations: 0 / 0.612 GB, free: 6.973 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000289/0.3985, allocations: 75.94 kB / 0.6121 GB, free: 6.898 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008901/0.3994, allocations: 460.5 kB / 0.6125 GB, free: 6.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.3997, allocations: 123.9 kB / 0.6127 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3997, allocations: 0 / 0.6127 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3998, allocations: 75.84 kB / 0.6127 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.4002, allocations: 33.88 kB / 0.6128 GB, free: 6.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.4013, allocations: 0.972 MB / 0.6137 GB, free: 5.391 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.4017, allocations: 0.834 MB / 0.6145 GB, free: 4.531 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.333e-05/0.4018, allocations: 36.8 kB / 0.6146 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.4019, allocations: 27.44 kB / 0.6146 GB, free: 4.465 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4019, allocations: 0 / 0.6146 GB, free: 4.465 MB / 426.7 MB Notification: Performance of Templates: time 0.005936/0.4078, allocations: 2.767 MB / 0.6173 GB, free: 1.699 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches