Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002119/0.002119, allocations: 177.8 kB / 8.36 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.053/2.053, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001193/0.001193, allocations: 94.39 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.4244/0.4244, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.772e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5676, allocations: 85.88 MB / 0.5498 GB, free: 13.41 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5679, allocations: 71.97 kB / 0.5498 GB, free: 13.34 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01756/0.5855, allocations: 3.988 MB / 0.5537 GB, free: 9.359 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5855, allocations: 0 / 0.5537 GB, free: 9.359 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.5856, allocations: 4 kB / 0.5537 GB, free: 9.355 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.0005296/0.5861, allocations: 366.3 kB / 0.5541 GB, free: 8.953 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.5862, allocations: 12.03 kB / 0.5541 GB, free: 8.941 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.5862, allocations: 3.906 kB / 0.5541 GB, free: 8.938 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.5866, allocations: 186.9 kB / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5866, allocations: 0 / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.5866, allocations: 3.984 kB / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.84e-05/0.5867, allocations: 12 kB / 0.5543 GB, free: 8.699 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.5869, allocations: 63.34 kB / 0.5544 GB, free: 8.625 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.5869, allocations: 4 kB / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.5869, allocations: 0 / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.587, allocations: 0 / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.5874, allocations: 253.4 kB / 0.5546 GB, free: 8.336 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.5877, allocations: 34.56 kB / 0.5546 GB, free: 8.293 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.677e-05/0.5877, allocations: 12.86 kB / 0.5547 GB, free: 8.277 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.5878, allocations: 0 / 0.5547 GB, free: 8.277 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.5878, allocations: 42.5 kB / 0.5547 GB, free: 8.227 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.5878, allocations: 0 / 0.5547 GB, free: 8.227 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005269/0.5884, allocations: 89.48 kB / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.5885, allocations: 85.09 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.5886, allocations: 110 kB / 0.555 GB, free: 7.918 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.5887, allocations: 33.7 kB / 0.555 GB, free: 7.879 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.5888, allocations: 162.5 kB / 0.5551 GB, free: 7.719 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.5888, allocations: 15.75 kB / 0.5552 GB, free: 7.703 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.5888, allocations: 4 kB / 0.5552 GB, free: 7.699 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.589, allocations: 315 kB / 0.5555 GB, free: 7.383 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.487e-05/0.589, allocations: 11.94 kB / 0.5555 GB, free: 7.371 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.5891, allocations: 21.72 kB / 0.5555 GB, free: 7.344 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.84e-05/0.5892, allocations: 16.02 kB / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5892, allocations: 0 / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001413/0.5893, allocations: 53.64 kB / 0.5556 GB, free: 7.27 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5894, allocations: 11.98 kB / 0.5556 GB, free: 7.258 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5894, allocations: 0 / 0.5556 GB, free: 7.258 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.5894, allocations: 0 / 0.5556 GB, free: 7.258 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.5896, allocations: 12 kB / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.5896, allocations: 0 / 0.5556 GB, free: 7.246 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.5897, allocations: 7.984 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.5897, allocations: 4 kB / 0.5556 GB, free: 7.234 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 9.493e-05/0.5898, allocations: 112.9 kB / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.5899, allocations: 7.906 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.5901, allocations: 66.08 kB / 0.5558 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5901, allocations: 0 / 0.5558 GB, free: 7.039 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5901, allocations: 4 kB / 0.5558 GB, free: 7.035 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5901, allocations: 0 / 0.5558 GB, free: 7.035 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.5906, allocations: 307.3 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5906, allocations: 4.062 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.5908, allocations: 12 kB / 0.5561 GB, free: 6.676 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.5908, allocations: 0 / 0.5561 GB, free: 6.676 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.569e-06/0.5908, allocations: 0 / 0.5561 GB, free: 6.676 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5908, allocations: 0 / 0.5561 GB, free: 6.676 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5908, allocations: 4 kB / 0.5561 GB, free: 6.672 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.591, allocations: 159.5 kB / 0.5562 GB, free: 6.5 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.5911, allocations: 89.14 kB / 0.5563 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.5912, allocations: 0 / 0.5563 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.5913, allocations: 11.98 kB / 0.5563 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.5914, allocations: 3.984 kB / 0.5563 GB, free: 6.379 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5914, allocations: 4 kB / 0.5564 GB, free: 6.375 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.5915, allocations: 107.8 kB / 0.5565 GB, free: 6.27 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5915, allocations: 7.875 kB / 0.5565 GB, free: 6.262 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000377/0.5919, allocations: 24 kB / 0.5565 GB, free: 6.238 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.001112/0.593, allocations: 378.7 kB / 0.5568 GB, free: 5.902 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.5932, allocations: 28 kB / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5932, allocations: 0 / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.5933, allocations: 15.94 kB / 0.5569 GB, free: 5.859 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.5936, allocations: 19.8 kB / 0.5569 GB, free: 5.84 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.594, allocations: 117.8 kB / 0.557 GB, free: 5.691 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.5944, allocations: 0.6963 MB / 0.5577 GB, free: 4.969 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.5945, allocations: 15.42 kB / 0.5577 GB, free: 4.953 MB / 395.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5945, allocations: 4 kB / 0.5577 GB, free: 4.949 MB / 395.1 MB Notification: Performance of Templates: time 0.005086/0.5996, allocations: 1.557 MB / 0.5592 GB, free: 3.395 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches