Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009511/0.000951, allocations: 182.1 kB / 17.41 MB, free: 4.289 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.712/1.712, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008494/0.0008493, allocations: 86.42 kB / 271.9 MB, free: 8.246 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.4521/0.4521, allocations: 43.56 MB / 363.8 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004024, allocations: 16 kB / 432.6 MB, free: 5.625 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 58.85 MB / 491.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3741/0.5211, allocations: 87.75 MB / 0.5656 GB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.5214, allocations: 75.97 kB / 0.5657 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01457/0.536, allocations: 5.593 MB / 0.5712 GB, free: 8.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.536, allocations: 0 / 0.5712 GB, free: 8.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.5361, allocations: 4 kB / 0.5712 GB, free: 8.863 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.0005748/0.5366, allocations: 429.8 kB / 0.5716 GB, free: 8.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5367, allocations: 8.031 kB / 0.5716 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.5367, allocations: 14.72 kB / 0.5716 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.5371, allocations: 228 kB / 0.5718 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.5371, allocations: 8.375 kB / 0.5718 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.5371, allocations: 384 / 0.5718 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.5373, allocations: 66.16 kB / 0.5719 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5373, allocations: 192 / 0.5719 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5373, allocations: 3.938 kB / 0.5719 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5373, allocations: 0 / 0.5719 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.979e-05/0.5374, allocations: 31.34 kB / 0.5719 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.5378, allocations: 296.9 kB / 0.5722 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.538, allocations: 62.62 kB / 0.5723 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.5381, allocations: 24.84 kB / 0.5723 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.5381, allocations: 3.938 kB / 0.5723 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.5383, allocations: 63.39 kB / 0.5724 GB, free: 7.488 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5383, allocations: 8 kB / 0.5724 GB, free: 7.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005889/0.5389, allocations: 181.1 kB / 0.5725 GB, free: 7.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.5389, allocations: 59.39 kB / 0.5726 GB, free: 7.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.5392, allocations: 214.7 kB / 0.5728 GB, free: 7.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.5392, allocations: 25.7 kB / 0.5728 GB, free: 6.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.5393, allocations: 104.1 kB / 0.5729 GB, free: 6.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.5394, allocations: 25.91 kB / 0.5729 GB, free: 6.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.5394, allocations: 4 kB / 0.5729 GB, free: 6.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5396, allocations: 330.8 kB / 0.5733 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.5396, allocations: 23.98 kB / 0.5733 GB, free: 6.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.5397, allocations: 37.7 kB / 0.5733 GB, free: 6.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.5399, allocations: 62.42 kB / 0.5734 GB, free: 6.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5399, allocations: 0 / 0.5734 GB, free: 6.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002103/0.5401, allocations: 106 kB / 0.5735 GB, free: 6.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5401, allocations: 8.031 kB / 0.5735 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.5401, allocations: 4 kB / 0.5735 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5402, allocations: 0 / 0.5735 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5403, allocations: 15.98 kB / 0.5735 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.5403, allocations: 0 / 0.5735 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.5403, allocations: 8 kB / 0.5735 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.5404, allocations: 4 kB / 0.5735 GB, free: 6.227 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.0001418/0.5405, allocations: 133.8 kB / 0.5736 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.5405, allocations: 15.81 kB / 0.5737 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.5409, allocations: 131.3 kB / 0.5738 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5409, allocations: 0 / 0.5738 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.5409, allocations: 0 / 0.5738 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5409, allocations: 3.938 kB / 0.5738 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.5415, allocations: 423.2 kB / 0.5742 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5415, allocations: 0.875 kB / 0.5742 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.5416, allocations: 19.95 kB / 0.5742 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5416, allocations: 4 kB / 0.5742 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.5416, allocations: 4 kB / 0.5742 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5416, allocations: 0 / 0.5742 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5416, allocations: 3.938 kB / 0.5742 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.5419, allocations: 212.1 kB / 0.5744 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.542, allocations: 93.38 kB / 0.5745 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.5421, allocations: 8 kB / 0.5745 GB, free: 5.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.5422, allocations: 8 kB / 0.5745 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.5422, allocations: 11.92 kB / 0.5745 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.5422, allocations: 0 / 0.5745 GB, free: 5.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.5424, allocations: 178.4 kB / 0.5747 GB, free: 4.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5424, allocations: 0 / 0.5747 GB, free: 4.895 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.5427, allocations: 31.94 kB / 0.5747 GB, free: 4.863 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.001186/0.5439, allocations: 477.8 kB / 0.5752 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.5441, allocations: 63.91 kB / 0.5753 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5441, allocations: 0 / 0.5753 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.5442, allocations: 36.05 kB / 0.5753 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.5446, allocations: 29 kB / 0.5753 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006036/0.5452, allocations: 318.5 kB / 0.5756 GB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.5456, allocations: 0.7083 MB / 0.5763 GB, free: 3.297 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.5457, allocations: 23.42 kB / 0.5763 GB, free: 3.277 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5457, allocations: 0 / 0.5763 GB, free: 3.277 MB / 394.7 MB Notification: Performance of Templates: time 0.003808/0.5495, allocations: 2.018 MB / 0.5783 GB, free: 1.273 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches