Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009696/0.0009697, allocations: 195.9 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 244.1 MB, free: 8.262 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009973/0.0009973, allocations: 97.77 kB / 296.1 MB, free: 6.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3402/0.3402, allocations: 44.83 MB / 393 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 8 kB / 465.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3671, allocations: 62.95 MB / 0.5165 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.486, allocations: 90.9 MB / 0.6052 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.4863, allocations: 83.89 kB / 0.6053 GB, free: 14.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02529/0.5116, allocations: 9.143 MB / 0.6143 GB, free: 5.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5117, allocations: 0 / 0.6143 GB, free: 5.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.5117, allocations: 7.938 kB / 0.6143 GB, free: 5.281 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007675/0.5125, allocations: 0.5489 MB / 0.6148 GB, free: 4.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5125, allocations: 8.031 kB / 0.6148 GB, free: 4.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.5126, allocations: 24.66 kB / 0.6148 GB, free: 4.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.5131, allocations: 311.4 kB / 0.6151 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.5131, allocations: 4.375 kB / 0.6151 GB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.5132, allocations: 8.375 kB / 0.6151 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.5134, allocations: 115.8 kB / 0.6153 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5135, allocations: 8.094 kB / 0.6153 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.5135, allocations: 7.938 kB / 0.6153 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5135, allocations: 7.938 kB / 0.6153 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.5137, allocations: 59.88 kB / 0.6153 GB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.5143, allocations: 472.8 kB / 0.6158 GB, free: 3.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.5146, allocations: 138.4 kB / 0.6159 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.5148, allocations: 45.83 kB / 0.616 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.5148, allocations: 0 / 0.616 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.515, allocations: 129.1 kB / 0.6161 GB, free: 3.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.515, allocations: 0 / 0.6161 GB, free: 3.223 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001281/0.5163, allocations: 499.9 kB / 0.6166 GB, free: 2.727 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.5164, allocations: 84.98 kB / 0.6166 GB, free: 2.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.5168, allocations: 379.3 kB / 0.617 GB, free: 2.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.5168, allocations: 29.7 kB / 0.617 GB, free: 2.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.5169, allocations: 148.5 kB / 0.6172 GB, free: 2.066 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.517, allocations: 71.02 kB / 0.6172 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.517, allocations: 0 / 0.6172 GB, free: 1.996 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5171, allocations: 342.8 kB / 0.6176 GB, free: 1.652 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.5173, allocations: 59.98 kB / 0.6176 GB, free: 1.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.5174, allocations: 95.39 kB / 0.6177 GB, free: 1.488 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.5177, allocations: 158.2 kB / 0.6179 GB, free: 1.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5177, allocations: 0 / 0.6179 GB, free: 1.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003947/0.5181, allocations: 235.8 kB / 0.6181 GB, free: 1.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5182, allocations: 8.062 kB / 0.6181 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5182, allocations: 0 / 0.6181 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5182, allocations: 7.938 kB / 0.6181 GB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.5183, allocations: 43.86 kB / 0.6181 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5184, allocations: 4 kB / 0.6182 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.5184, allocations: 11.98 kB / 0.6182 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.5185, allocations: 13.17 kB / 0.6182 GB, free: 1.004 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001518/0.5186, allocations: 154.3 kB / 0.6183 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.5187, allocations: 35.7 kB / 0.6184 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.5192, allocations: 271.2 kB / 0.6186 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5192, allocations: 7.938 kB / 0.6186 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5192, allocations: 0 / 0.6186 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5193, allocations: 7.984 kB / 0.6186 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.5202, allocations: 0.7778 MB / 0.6194 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5202, allocations: 0 / 0.6194 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.5203, allocations: 35.92 kB / 0.6194 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5203, allocations: 0 / 0.6194 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.5204, allocations: 11.98 kB / 0.6194 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5204, allocations: 4 kB / 0.6194 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5204, allocations: 8.125 kB / 0.6194 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.5209, allocations: 438.4 kB / 0.6199 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.521, allocations: 120.7 kB / 0.62 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.5211, allocations: 8 kB / 0.62 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.5212, allocations: 11.98 kB / 0.62 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.5213, allocations: 23.92 kB / 0.62 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.5213, allocations: 11.98 kB / 0.62 GB, free: 14.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.5216, allocations: 273.9 kB / 0.6203 GB, free: 14.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5216, allocations: 0 / 0.6203 GB, free: 14.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.522, allocations: 63.94 kB / 0.6204 GB, free: 14.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001138/0.5232, allocations: 0.5322 MB / 0.6209 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.5235, allocations: 159.8 kB / 0.621 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5235, allocations: 0 / 0.621 GB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.5237, allocations: 91.83 kB / 0.6211 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.5243, allocations: 60.98 kB / 0.6212 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008859/0.5252, allocations: 0.5951 MB / 0.6218 GB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.5256, allocations: 0.7683 MB / 0.6225 GB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.5257, allocations: 35.42 kB / 0.6225 GB, free: 12.51 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5257, allocations: 0 / 0.6225 GB, free: 12.51 MB / 442.7 MB Notification: Performance of Templates: time 0.005678/0.5313, allocations: 3.719 MB / 0.6262 GB, free: 8.805 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches