Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001108, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2683/0.2683, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.441e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5506/0.6624, allocations: 87.61 MB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.6627, allocations: 77.19 kB / 0.5584 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02532/0.688, allocations: 5.535 MB / 0.5638 GB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6881, allocations: 0 / 0.5638 GB, free: 11.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.6881, allocations: 3.938 kB / 0.5638 GB, free: 11.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005989/0.6887, allocations: 409.8 kB / 0.5642 GB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6888, allocations: 8.031 kB / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.6889, allocations: 11.81 kB / 0.5643 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.6893, allocations: 222.6 kB / 0.5645 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.6893, allocations: 4 kB / 0.5645 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.6894, allocations: 3.875 kB / 0.5645 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.6895, allocations: 57.42 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.6896, allocations: 3.906 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.6896, allocations: 4 kB / 0.5645 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6896, allocations: 0 / 0.5645 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.6897, allocations: 19.92 kB / 0.5646 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.6902, allocations: 291.7 kB / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.6904, allocations: 57.94 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.6905, allocations: 26.91 kB / 0.5649 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.6905, allocations: 4 kB / 0.5649 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.6907, allocations: 62.7 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.979e-06/0.6907, allocations: 0 / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006692/0.6914, allocations: 159.9 kB / 0.5651 GB, free: 9.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.6915, allocations: 58.78 kB / 0.5652 GB, free: 9.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.6918, allocations: 202 kB / 0.5654 GB, free: 9.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.6919, allocations: 33.7 kB / 0.5654 GB, free: 9.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.692, allocations: 163.1 kB / 0.5656 GB, free: 9.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.692, allocations: 30.08 kB / 0.5656 GB, free: 9.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.692, allocations: 3.938 kB / 0.5656 GB, free: 9.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6922, allocations: 314.8 kB / 0.5659 GB, free: 9.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.6922, allocations: 21.25 kB / 0.5659 GB, free: 9.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.188e-05/0.6923, allocations: 37.33 kB / 0.566 GB, free: 9.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.6924, allocations: 26.86 kB / 0.566 GB, free: 9.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6924, allocations: 0 / 0.566 GB, free: 9.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002356/0.6927, allocations: 98.17 kB / 0.5661 GB, free: 8.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6927, allocations: 4 kB / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6927, allocations: 192 / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.6928, allocations: 4 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.6929, allocations: 19.98 kB / 0.5661 GB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.693, allocations: 3.953 kB / 0.5661 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.6931, allocations: 4 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.6931, allocations: 3.562 kB / 0.5661 GB, free: 8.906 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.082e-05/0.6932, allocations: 113 kB / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.6932, allocations: 15.81 kB / 0.5662 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.6936, allocations: 114 kB / 0.5663 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6936, allocations: 3.938 kB / 0.5663 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6936, allocations: 0 / 0.5663 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6936, allocations: 3.953 kB / 0.5663 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.6943, allocations: 423.2 kB / 0.5668 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6944, allocations: 0 / 0.5668 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.6944, allocations: 11.98 kB / 0.5668 GB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.6945, allocations: 4 kB / 0.5668 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.6945, allocations: 3.938 kB / 0.5668 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.6945, allocations: 3.953 kB / 0.5668 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6945, allocations: 4 kB / 0.5668 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.6949, allocations: 219.6 kB / 0.567 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.695, allocations: 104.8 kB / 0.5671 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.695, allocations: 4.328 kB / 0.5671 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.6952, allocations: 4 kB / 0.5671 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.6952, allocations: 7.984 kB / 0.5671 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.6953, allocations: 7.875 kB / 0.5671 GB, free: 7.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002395/0.6955, allocations: 167.5 kB / 0.5673 GB, free: 7.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6955, allocations: 0 / 0.5673 GB, free: 7.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.6959, allocations: 39.23 kB / 0.5673 GB, free: 7.684 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001232/0.6972, allocations: 424.1 kB / 0.5677 GB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.6974, allocations: 53.06 kB / 0.5678 GB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6974, allocations: 4.062 kB / 0.5678 GB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.6975, allocations: 34.48 kB / 0.5678 GB, free: 7.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.6979, allocations: 27.91 kB / 0.5678 GB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.6985, allocations: 229.5 kB / 0.568 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.6989, allocations: 0.7195 MB / 0.5687 GB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.699, allocations: 19.42 kB / 0.5688 GB, free: 6.246 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.699, allocations: 0 / 0.5688 GB, free: 6.246 MB / 378.7 MB Notification: Performance of Templates: time 0.005783/0.7048, allocations: 2.033 MB / 0.5708 GB, free: 4.219 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches