Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 178 kB / 8.362 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.153/2.153, 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.001068/0.001068, allocations: 85.3 kB / 262.1 MB, free: 13.86 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.2966/0.2966, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.043e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4079, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5681, allocations: 85.7 MB / 0.5496 GB, free: 13.6 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5685, allocations: 71.97 kB / 0.5497 GB, free: 13.53 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.5842, allocations: 3.509 MB / 0.5531 GB, free: 10.02 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5842, allocations: 0 / 0.5531 GB, free: 10.02 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.5843, allocations: 0.5469 kB / 0.5531 GB, free: 10.02 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.0004848/0.5848, allocations: 370.2 kB / 0.5534 GB, free: 9.617 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5848, allocations: 8.031 kB / 0.5534 GB, free: 9.609 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.5849, allocations: 7.906 kB / 0.5535 GB, free: 9.602 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.5852, allocations: 194.8 kB / 0.5536 GB, free: 9.371 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.5852, allocations: 0 / 0.5536 GB, free: 9.371 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.5852, allocations: 8 kB / 0.5536 GB, free: 9.363 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.666e-05/0.5853, allocations: 12 kB / 0.5537 GB, free: 9.352 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.5855, allocations: 45.67 kB / 0.5537 GB, free: 9.301 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5855, allocations: 0 / 0.5537 GB, free: 9.301 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.5855, allocations: 0 / 0.5537 GB, free: 9.301 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.5855, allocations: 7.938 kB / 0.5537 GB, free: 9.293 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.586, allocations: 265.3 kB / 0.554 GB, free: 8.996 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.5862, allocations: 38.56 kB / 0.554 GB, free: 8.949 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.5863, allocations: 12.86 kB / 0.554 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.5863, allocations: 0 / 0.554 GB, free: 8.934 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.5864, allocations: 34.56 kB / 0.554 GB, free: 8.891 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5864, allocations: 0 / 0.554 GB, free: 8.891 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005426/0.5869, allocations: 105.5 kB / 0.5541 GB, free: 8.781 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.587, allocations: 51.41 kB / 0.5542 GB, free: 8.719 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.5872, allocations: 129.2 kB / 0.5543 GB, free: 8.582 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.5872, allocations: 25.7 kB / 0.5543 GB, free: 8.551 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.5873, allocations: 158.6 kB / 0.5545 GB, free: 8.395 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.5873, allocations: 23.64 kB / 0.5545 GB, free: 8.371 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5874, allocations: 0 / 0.5545 GB, free: 8.371 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5875, allocations: 314.8 kB / 0.5548 GB, free: 8.055 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.5876, allocations: 16 kB / 0.5548 GB, free: 8.039 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/0.5876, allocations: 12 kB / 0.5548 GB, free: 8.027 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.5877, allocations: 11.98 kB / 0.5549 GB, free: 8.016 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5877, allocations: 0 / 0.5549 GB, free: 8.016 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001567/0.5879, allocations: 61.62 kB / 0.5549 GB, free: 7.949 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.5879, allocations: 8 kB / 0.5549 GB, free: 7.941 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5879, allocations: 0 / 0.5549 GB, free: 7.941 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5879, allocations: 0 / 0.5549 GB, free: 7.941 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.5881, allocations: 15.98 kB / 0.5549 GB, free: 7.926 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5881, allocations: 0 / 0.5549 GB, free: 7.926 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.5882, allocations: 8 kB / 0.5549 GB, free: 7.918 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.5882, allocations: 0 / 0.5549 GB, free: 7.918 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.909e-05/0.5883, allocations: 109.1 kB / 0.555 GB, free: 7.805 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.5884, allocations: 15.89 kB / 0.5551 GB, free: 7.789 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.5886, allocations: 74.02 kB / 0.5551 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5886, allocations: 0 / 0.5551 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5886, allocations: 0 / 0.5551 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5887, allocations: 8 kB / 0.5551 GB, free: 7.707 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.5891, allocations: 311.1 kB / 0.5554 GB, free: 7.359 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5892, allocations: 384 / 0.5554 GB, free: 7.359 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5893, allocations: 12 kB / 0.5554 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5893, allocations: 0 / 0.5554 GB, free: 7.348 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.5893, allocations: 7.984 kB / 0.5555 GB, free: 7.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5893, allocations: 3.938 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5894, allocations: 3.984 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.5896, allocations: 167.4 kB / 0.5556 GB, free: 7.152 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.5896, allocations: 85.02 kB / 0.5557 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.5897, allocations: 3.938 kB / 0.5557 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.5898, allocations: 11.98 kB / 0.5557 GB, free: 7.035 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.5899, allocations: 4 kB / 0.5557 GB, free: 7.031 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.5899, allocations: 0 / 0.5557 GB, free: 7.031 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.59, allocations: 107.1 kB / 0.5558 GB, free: 6.93 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.345e-06/0.59, allocations: 4 kB / 0.5558 GB, free: 6.926 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.5904, allocations: 31.86 kB / 0.5559 GB, free: 6.895 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.00105/0.5914, allocations: 333.3 kB / 0.5562 GB, free: 6.602 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.5916, allocations: 31.98 kB / 0.5562 GB, free: 6.57 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5917, allocations: 0 / 0.5562 GB, free: 6.57 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.5917, allocations: 20 kB / 0.5562 GB, free: 6.551 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.5921, allocations: 27.17 kB / 0.5563 GB, free: 6.527 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.5925, allocations: 137.5 kB / 0.5564 GB, free: 6.363 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.5929, allocations: 0.6963 MB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.5929, allocations: 15.38 kB / 0.5571 GB, free: 5.625 MB / 395.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5929, allocations: 0 / 0.5571 GB, free: 5.625 MB / 395.1 MB Notification: Performance of Templates: time 0.004542/0.5975, allocations: 1.409 MB / 0.5585 GB, free: 4.223 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches