Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 193.5 kB / 16.78 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.5 MB / 244.1 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007598/0.0007598, allocations: 95.75 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2841/0.2841, allocations: 44.81 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002746, allocations: 11.98 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2694, allocations: 62.95 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.3736, allocations: 89.94 MB / 0.6043 GB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.3739, allocations: 75.97 kB / 0.6044 GB, free: 15.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02038/0.3943, allocations: 9.247 MB / 0.6134 GB, free: 6.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3943, allocations: 0 / 0.6134 GB, free: 6.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.3943, allocations: 4 kB / 0.6134 GB, free: 6.09 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.0006854/0.395, allocations: 0.6497 MB / 0.614 GB, free: 5.387 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.3951, allocations: 8.875 kB / 0.614 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.3951, allocations: 44.38 kB / 0.6141 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.3956, allocations: 368 kB / 0.6144 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3956, allocations: 384 / 0.6144 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3956, allocations: 4.375 kB / 0.6144 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3957, allocations: 62.23 kB / 0.6145 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3958, allocations: 192 / 0.6145 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3958, allocations: 11.88 kB / 0.6145 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3958, allocations: 0 / 0.6145 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.549e-05/0.3959, allocations: 35.91 kB / 0.6145 GB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005407/0.3964, allocations: 448.6 kB / 0.615 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.3965, allocations: 46.59 kB / 0.615 GB, free: 4.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.3966, allocations: 24.94 kB / 0.615 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3966, allocations: 0 / 0.615 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3967, allocations: 34.56 kB / 0.6151 GB, free: 4.207 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3967, allocations: 0 / 0.6151 GB, free: 4.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000872/0.3975, allocations: 332.2 kB / 0.6154 GB, free: 3.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3976, allocations: 55.41 kB / 0.6154 GB, free: 3.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3988, allocations: 0.862 MB / 0.6163 GB, free: 2.938 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3988, allocations: 25.7 kB / 0.6163 GB, free: 2.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3989, allocations: 224.1 kB / 0.6165 GB, free: 2.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.399, allocations: 31.58 kB / 0.6166 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.399, allocations: 0 / 0.6166 GB, free: 2.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3991, allocations: 362.7 kB / 0.6169 GB, free: 2.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.3992, allocations: 23.98 kB / 0.6169 GB, free: 2.266 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.3993, allocations: 44.03 kB / 0.617 GB, free: 2.223 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3995, allocations: 68.78 kB / 0.617 GB, free: 2.152 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3995, allocations: 0 / 0.617 GB, free: 2.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002352/0.3997, allocations: 145.1 kB / 0.6172 GB, free: 2.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3997, allocations: 6.344 kB / 0.6172 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3997, allocations: 0 / 0.6172 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3998, allocations: 3.984 kB / 0.6172 GB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.3999, allocations: 19.98 kB / 0.6172 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3999, allocations: 4 kB / 0.6172 GB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.4, allocations: 11.94 kB / 0.6172 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.4, allocations: 4 kB / 0.6172 GB, free: 1.957 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 (8): * Single equations (assignments): 8 * 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.00017/0.4001, allocations: 217.7 kB / 0.6174 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.4002, allocations: 43.44 kB / 0.6175 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.4005, allocations: 169.5 kB / 0.6176 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4006, allocations: 0 / 0.6176 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4006, allocations: 4 kB / 0.6176 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4006, allocations: 3.938 kB / 0.6176 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008169/0.4014, allocations: 0.6478 MB / 0.6183 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4014, allocations: 0 / 0.6183 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.4015, allocations: 23.92 kB / 0.6183 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4015, allocations: 3.938 kB / 0.6183 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4015, allocations: 0 / 0.6183 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4015, allocations: 8 kB / 0.6183 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.4016, allocations: 0 / 0.6183 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.4019, allocations: 248.1 kB / 0.6185 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.402, allocations: 164.5 kB / 0.6187 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.4021, allocations: 3.938 kB / 0.6187 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.4022, allocations: 19.98 kB / 0.6187 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.4022, allocations: 4 kB / 0.6187 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4022, allocations: 0 / 0.6187 GB, free: 308 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006721/0.4029, allocations: 0.651 MB / 0.6194 GB, free: 15.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4029, allocations: 4 kB / 0.6194 GB, free: 15.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.4032, allocations: 67.94 kB / 0.6194 GB, free: 15.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009146/0.4042, allocations: 453.6 kB / 0.6199 GB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4044, allocations: 71.95 kB / 0.6199 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4044, allocations: 4 kB / 0.6199 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.4045, allocations: 39.92 kB / 0.62 GB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.4048, allocations: 26.3 kB / 0.62 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.4061, allocations: 0.9962 MB / 0.621 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.4065, allocations: 0.8263 MB / 0.6218 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.4065, allocations: 23.67 kB / 0.6218 GB, free: 13.25 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4066, allocations: 3.938 kB / 0.6218 GB, free: 13.25 MB / 442.7 MB Notification: Performance of Templates: time 0.007404/0.414, allocations: 4.545 MB / 0.6262 GB, free: 8.695 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches