Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.952/1.952, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001115/0.001115, allocations: 101.7 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5051/0.5051, allocations: 43.54 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005172, allocations: 16 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.5935, allocations: 87.93 MB / 0.5646 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5939, allocations: 75.97 kB / 0.5647 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0273/0.6212, allocations: 5.963 MB / 0.5705 GB, free: 8.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.6212, allocations: 0 / 0.5705 GB, free: 8.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.6213, allocations: 4.547 kB / 0.5705 GB, free: 8.793 MB / 394.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.0007216/0.622, allocations: 417.9 kB / 0.5709 GB, free: 8.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6221, allocations: 12.02 kB / 0.5709 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.6221, allocations: 11.34 kB / 0.5709 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.6226, allocations: 206.8 kB / 0.5711 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.6226, allocations: 0 / 0.5711 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.6226, allocations: 7.938 kB / 0.5711 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.6229, allocations: 79.38 kB / 0.5712 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.6229, allocations: 4 kB / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.6229, allocations: 1.031 kB / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.623, allocations: 0 / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.6231, allocations: 23.92 kB / 0.5712 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.6236, allocations: 284.8 kB / 0.5715 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.6239, allocations: 58.67 kB / 0.5716 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.6239, allocations: 8 kB / 0.5716 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.6242, allocations: 67.45 kB / 0.5716 GB, free: 7.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.825e-06/0.6242, allocations: 0 / 0.5716 GB, free: 7.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008376/0.6251, allocations: 173.2 kB / 0.5718 GB, free: 7.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.6252, allocations: 89.09 kB / 0.5719 GB, free: 7.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.6254, allocations: 143 kB / 0.572 GB, free: 7.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.6254, allocations: 29.7 kB / 0.572 GB, free: 7.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.6255, allocations: 162.6 kB / 0.5722 GB, free: 6.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.6256, allocations: 15.72 kB / 0.5722 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.6256, allocations: 4 kB / 0.5722 GB, free: 6.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6257, allocations: 314.8 kB / 0.5725 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.6259, allocations: 23.98 kB / 0.5725 GB, free: 6.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.626, allocations: 42.56 kB / 0.5726 GB, free: 6.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.6261, allocations: 24.03 kB / 0.5726 GB, free: 6.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6261, allocations: 0 / 0.5726 GB, free: 6.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000313/0.6265, allocations: 101.5 kB / 0.5727 GB, free: 6.312 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6265, allocations: 4 kB / 0.5727 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6265, allocations: 3.953 kB / 0.5727 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.6265, allocations: 4 kB / 0.5727 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.6267, allocations: 15.98 kB / 0.5727 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.6267, allocations: 3.938 kB / 0.5727 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.6268, allocations: 12.03 kB / 0.5727 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.6269, allocations: 0 / 0.5727 GB, free: 6.27 MB / 394.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 () * Number of clocked 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 0.0001476/0.627, allocations: 118 kB / 0.5729 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.6271, allocations: 7.906 kB / 0.5729 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.6275, allocations: 122.2 kB / 0.573 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.6275, allocations: 11.92 kB / 0.573 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6276, allocations: 0 / 0.573 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6276, allocations: 3.938 kB / 0.573 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.6284, allocations: 411.2 kB / 0.5734 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6284, allocations: 0 / 0.5734 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-05/0.6285, allocations: 11.95 kB / 0.5734 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6286, allocations: 0 / 0.5734 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.6286, allocations: 4.375 kB / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6286, allocations: 0 / 0.5734 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/0.6286, allocations: 7.984 kB / 0.5734 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.629, allocations: 225.9 kB / 0.5736 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.6291, allocations: 92.91 kB / 0.5737 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.6292, allocations: 0 / 0.5737 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.6293, allocations: 8 kB / 0.5737 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.6294, allocations: 7.984 kB / 0.5737 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.6294, allocations: 4 kB / 0.5737 GB, free: 5.137 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.6296, allocations: 127 kB / 0.5739 GB, free: 5.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6296, allocations: 3.938 kB / 0.5739 GB, free: 5.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004144/0.63, allocations: 39.98 kB / 0.5739 GB, free: 4.973 MB / 394.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) * Number of clocked states: 0 () * 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.001551/0.6316, allocations: 0.5079 MB / 0.5744 GB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.632, allocations: 59.92 kB / 0.5745 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6321, allocations: 0 / 0.5745 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.6322, allocations: 31.98 kB / 0.5745 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.6326, allocations: 27.92 kB / 0.5745 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.6333, allocations: 246 kB / 0.5747 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6336, allocations: 0.7081 MB / 0.5754 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.6337, allocations: 19.44 kB / 0.5755 GB, free: 3.422 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6337, allocations: 0 / 0.5755 GB, free: 3.422 MB / 394.7 MB Notification: Performance of Templates: time 0.005881/0.6396, allocations: 2.054 MB / 0.5775 GB, free: 1.371 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches