Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.00152, allocations: 178 kB / 8.363 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.118/2.118, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001106/0.001106, allocations: 86.78 kB / 262.1 MB, free: 13.87 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.3164/0.3164, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.147e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3989, allocations: 58.86 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.5602, allocations: 85.7 MB / 0.5496 GB, free: 13.62 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5606, allocations: 75.95 kB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01535/0.576, allocations: 3.537 MB / 0.5531 GB, free: 10.01 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.576, allocations: 4 kB / 0.5531 GB, free: 10 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.576, allocations: 0 / 0.5531 GB, free: 10 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004996/0.5765, allocations: 378.2 kB / 0.5535 GB, free: 9.59 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5766, allocations: 8.031 kB / 0.5535 GB, free: 9.582 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.5767, allocations: 4 kB / 0.5535 GB, free: 9.578 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.577, allocations: 190.9 kB / 0.5537 GB, free: 9.352 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.577, allocations: 0 / 0.5537 GB, free: 9.352 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.577, allocations: 7.906 kB / 0.5537 GB, free: 9.344 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.388e-05/0.5771, allocations: 16 kB / 0.5537 GB, free: 9.328 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.972e-05/0.5772, allocations: 41.69 kB / 0.5537 GB, free: 9.281 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5773, allocations: 0 / 0.5537 GB, free: 9.281 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.5773, allocations: 0 / 0.5537 GB, free: 9.281 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5773, allocations: 3.938 kB / 0.5537 GB, free: 9.277 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.5778, allocations: 257.5 kB / 0.554 GB, free: 8.988 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.578, allocations: 46.5 kB / 0.554 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.578, allocations: 16.84 kB / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.5781, allocations: 0 / 0.5541 GB, free: 8.914 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.5781, allocations: 34.56 kB / 0.5541 GB, free: 8.871 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5781, allocations: 0 / 0.5541 GB, free: 8.871 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005123/0.5787, allocations: 113.3 kB / 0.5542 GB, free: 8.754 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.5787, allocations: 55.41 kB / 0.5542 GB, free: 8.688 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5789, allocations: 136.3 kB / 0.5544 GB, free: 8.547 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.5789, allocations: 25.7 kB / 0.5544 GB, free: 8.516 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.579, allocations: 166.5 kB / 0.5546 GB, free: 8.352 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.5791, allocations: 11.75 kB / 0.5546 GB, free: 8.34 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.5791, allocations: 0 / 0.5546 GB, free: 8.34 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5792, allocations: 322.8 kB / 0.5549 GB, free: 8.016 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.5793, allocations: 11.98 kB / 0.5549 GB, free: 8.004 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.5793, allocations: 16 kB / 0.5549 GB, free: 7.988 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.803e-05/0.5794, allocations: 15.94 kB / 0.5549 GB, free: 7.973 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5794, allocations: 0 / 0.5549 GB, free: 7.973 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000146/0.5796, allocations: 61.59 kB / 0.555 GB, free: 7.906 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5796, allocations: 4 kB / 0.555 GB, free: 7.902 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5796, allocations: 0 / 0.555 GB, free: 7.902 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.5796, allocations: 3.984 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5798, allocations: 12 kB / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5798, allocations: 0 / 0.555 GB, free: 7.887 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.5799, allocations: 11.98 kB / 0.555 GB, free: 7.875 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5799, allocations: 4 kB / 0.555 GB, free: 7.871 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 (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 8.51e-05/0.58, allocations: 105.1 kB / 0.5551 GB, free: 7.762 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.58, allocations: 7.906 kB / 0.5551 GB, free: 7.754 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.5803, allocations: 78.02 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5803, allocations: 0 / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5803, allocations: 0 / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5803, allocations: 0 / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.5808, allocations: 323.1 kB / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5808, allocations: 0 / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.5809, allocations: 19.92 kB / 0.5555 GB, free: 7.297 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5809, allocations: 0 / 0.5555 GB, free: 7.297 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.581, allocations: 384 / 0.5555 GB, free: 7.297 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.581, allocations: 0 / 0.5555 GB, free: 7.297 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.581, allocations: 0 / 0.5555 GB, free: 7.297 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.5812, allocations: 175.4 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.5813, allocations: 85.02 kB / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.5813, allocations: 0 / 0.5558 GB, free: 7.008 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5815, allocations: 11.98 kB / 0.5558 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.5815, allocations: 7.938 kB / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.5815, allocations: 0 / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.5817, allocations: 120.5 kB / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5817, allocations: 0 / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.5821, allocations: 23.98 kB / 0.5559 GB, free: 6.848 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 (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.001026/0.5831, allocations: 334.9 kB / 0.5562 GB, free: 6.555 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.5833, allocations: 35.98 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5833, allocations: 0 / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/0.5834, allocations: 16 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.5837, allocations: 27.08 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.5842, allocations: 149.4 kB / 0.5565 GB, free: 6.305 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.5845, allocations: 0.7001 MB / 0.5571 GB, free: 5.578 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.5846, allocations: 15.44 kB / 0.5572 GB, free: 5.562 MB / 395.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5846, allocations: 0 / 0.5572 GB, free: 5.562 MB / 395.1 MB Notification: Performance of Templates: time 0.004612/0.5893, allocations: 1.432 MB / 0.5586 GB, free: 4.137 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches