Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.CombiTable2D.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002131/0.002131, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 88.17 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.269e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3987, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.5633, allocations: 86.09 MB / 0.55 GB, free: 13.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5636, allocations: 66.7 kB / 0.55 GB, free: 13.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.5809, allocations: 4.13 MB / 0.5541 GB, free: 9.031 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.581, allocations: 3.938 kB / 0.5541 GB, free: 9.027 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.581, allocations: 4 kB / 0.5541 GB, free: 9.023 MB / 395.1 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.0005468/0.5816, allocations: 390.7 kB / 0.5544 GB, free: 8.598 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5816, allocations: 8.031 kB / 0.5545 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.5817, allocations: 11.86 kB / 0.5545 GB, free: 8.578 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.582, allocations: 202.7 kB / 0.5547 GB, free: 8.34 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.5821, allocations: 0 / 0.5547 GB, free: 8.34 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.5821, allocations: 4 kB / 0.5547 GB, free: 8.336 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/0.5822, allocations: 23.94 kB / 0.5547 GB, free: 8.312 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.5823, allocations: 45.69 kB / 0.5547 GB, free: 8.262 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5824, allocations: 3.938 kB / 0.5547 GB, free: 8.258 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5824, allocations: 0 / 0.5547 GB, free: 8.258 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.5824, allocations: 4 kB / 0.5547 GB, free: 8.254 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.5829, allocations: 269.3 kB / 0.555 GB, free: 7.953 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.583, allocations: 42.5 kB / 0.555 GB, free: 7.902 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.583, allocations: 12.86 kB / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.5831, allocations: 0 / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.5831, allocations: 34.56 kB / 0.5551 GB, free: 7.844 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.522e-06/0.5831, allocations: 0 / 0.5551 GB, free: 7.844 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.000647/0.5838, allocations: 149.3 kB / 0.5552 GB, free: 7.691 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5838, allocations: 59.34 kB / 0.5553 GB, free: 7.621 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.5841, allocations: 161.4 kB / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.5841, allocations: 25.7 kB / 0.5555 GB, free: 7.426 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.5842, allocations: 166.5 kB / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.5843, allocations: 19.72 kB / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.5843, allocations: 0 / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5844, allocations: 318.8 kB / 0.5559 GB, free: 6.922 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.5845, allocations: 12 kB / 0.556 GB, free: 6.91 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.5846, allocations: 20 kB / 0.556 GB, free: 6.891 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.5846, allocations: 12 kB / 0.556 GB, free: 6.879 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5846, allocations: 0 / 0.556 GB, free: 6.879 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/0.5848, allocations: 65.69 kB / 0.556 GB, free: 6.809 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5848, allocations: 4 kB / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5849, allocations: 0 / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5849, allocations: 0 / 0.556 GB, free: 6.805 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.5851, allocations: 27.92 kB / 0.5561 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.5851, allocations: 7.953 kB / 0.5561 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.5852, allocations: 11.98 kB / 0.5561 GB, free: 6.758 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5853, allocations: 4 kB / 0.5561 GB, free: 6.754 MB / 395.1 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 () * 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 8.776e-05/0.5854, allocations: 101 kB / 0.5562 GB, free: 6.648 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.5854, allocations: 11.81 kB / 0.5562 GB, free: 6.637 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.5857, allocations: 90.22 kB / 0.5563 GB, free: 6.543 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5857, allocations: 0 / 0.5563 GB, free: 6.543 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5857, allocations: 8 kB / 0.5563 GB, free: 6.535 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.5857, allocations: 7.938 kB / 0.5563 GB, free: 6.527 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.5863, allocations: 335.1 kB / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5863, allocations: 0 / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.5865, allocations: 19.98 kB / 0.5566 GB, free: 6.137 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.5865, allocations: 4 kB / 0.5566 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5865, allocations: 0 / 0.5566 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5865, allocations: 4 kB / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5866, allocations: 7.938 kB / 0.5567 GB, free: 6.121 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.5868, allocations: 171.8 kB / 0.5568 GB, free: 5.938 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.5869, allocations: 96.92 kB / 0.5569 GB, free: 5.824 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.5869, allocations: 0 / 0.5569 GB, free: 5.824 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.5871, allocations: 15.92 kB / 0.5569 GB, free: 5.809 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.5872, allocations: 15.94 kB / 0.5569 GB, free: 5.793 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.5872, allocations: 0 / 0.5569 GB, free: 5.793 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.5874, allocations: 136.1 kB / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5874, allocations: 0 / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.5878, allocations: 24 kB / 0.5571 GB, free: 5.637 MB / 395.1 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 () * 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.0009952/0.5888, allocations: 332.1 kB / 0.5574 GB, free: 5.348 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.589, allocations: 43.92 kB / 0.5575 GB, free: 5.305 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.589, allocations: 0 / 0.5575 GB, free: 5.305 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.797e-05/0.5891, allocations: 27.94 kB / 0.5575 GB, free: 5.277 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.5894, allocations: 12.03 kB / 0.5575 GB, free: 5.27 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.5899, allocations: 177.9 kB / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.5903, allocations: 0.7119 MB / 0.5584 GB, free: 4.324 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.5904, allocations: 19.42 kB / 0.5584 GB, free: 4.305 MB / 395.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5904, allocations: 3.938 kB / 0.5584 GB, free: 4.301 MB / 395.1 MB Notification: Performance of Templates: time 0.005038/0.5954, allocations: 1.663 MB / 0.56 GB, free: 2.645 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches