Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009391/0.0009391, allocations: 194.8 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007574/0.0007572, allocations: 99.03 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4163/0.4163, allocations: 44.82 MB / 392.9 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003073, allocations: 12 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3942, allocations: 62.95 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.5271, allocations: 90.61 MB / 0.605 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5275, allocations: 75.97 kB / 0.605 GB, free: 14.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.5458, allocations: 6.411 MB / 0.6113 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5459, allocations: 0 / 0.6113 GB, free: 8.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.5459, allocations: 8 kB / 0.6113 GB, free: 8.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006926/0.5466, allocations: 446.8 kB / 0.6117 GB, free: 7.781 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5466, allocations: 12.03 kB / 0.6117 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.5467, allocations: 12.75 kB / 0.6117 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.5471, allocations: 224.8 kB / 0.612 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.5471, allocations: 4.375 kB / 0.612 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.5472, allocations: 4.375 kB / 0.612 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.5473, allocations: 54.23 kB / 0.612 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5474, allocations: 192 / 0.612 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.5474, allocations: 3.938 kB / 0.612 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5474, allocations: 3.938 kB / 0.612 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.5475, allocations: 19.98 kB / 0.6121 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.5479, allocations: 300.8 kB / 0.6123 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.5481, allocations: 58.61 kB / 0.6124 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.5482, allocations: 24.8 kB / 0.6124 GB, free: 6.969 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.5482, allocations: 3.984 kB / 0.6124 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.5484, allocations: 71.39 kB / 0.6125 GB, free: 6.883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.5484, allocations: 0 / 0.6125 GB, free: 6.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006098/0.549, allocations: 173.1 kB / 0.6127 GB, free: 6.707 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5491, allocations: 55.41 kB / 0.6127 GB, free: 6.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.5493, allocations: 196.4 kB / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5493, allocations: 29.7 kB / 0.6129 GB, free: 6.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.5494, allocations: 104.1 kB / 0.613 GB, free: 6.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.5494, allocations: 23.7 kB / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.5494, allocations: 0 / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5496, allocations: 334.7 kB / 0.6134 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.5496, allocations: 23.98 kB / 0.6134 GB, free: 5.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.5497, allocations: 41.64 kB / 0.6134 GB, free: 5.871 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.5498, allocations: 61.64 kB / 0.6135 GB, free: 5.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5498, allocations: 0 / 0.6135 GB, free: 5.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.55, allocations: 109.4 kB / 0.6136 GB, free: 5.691 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5501, allocations: 4 kB / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5501, allocations: 0 / 0.6136 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5501, allocations: 4 kB / 0.6136 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.5502, allocations: 15.98 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5502, allocations: 0 / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.5503, allocations: 4 kB / 0.6136 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5503, allocations: 8.031 kB / 0.6136 GB, free: 5.656 MB / 426.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.0001182/0.5504, allocations: 135.7 kB / 0.6138 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.5504, allocations: 7.906 kB / 0.6138 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.5507, allocations: 123.1 kB / 0.6139 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.5507, allocations: 4.375 kB / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5507, allocations: 0 / 0.6139 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5508, allocations: 3.984 kB / 0.6139 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.5513, allocations: 427.1 kB / 0.6143 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5513, allocations: 0 / 0.6143 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.5514, allocations: 15.94 kB / 0.6143 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.5514, allocations: 4 kB / 0.6143 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5514, allocations: 3.984 kB / 0.6143 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5514, allocations: 0 / 0.6143 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5514, allocations: 3.938 kB / 0.6143 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.5517, allocations: 208.3 kB / 0.6145 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.5517, allocations: 101.3 kB / 0.6146 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.5518, allocations: 0 / 0.6146 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.5519, allocations: 4 kB / 0.6146 GB, free: 4.527 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.5519, allocations: 11.92 kB / 0.6146 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.5519, allocations: 11.94 kB / 0.6146 GB, free: 4.504 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.5521, allocations: 143.2 kB / 0.6148 GB, free: 4.363 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5521, allocations: 0 / 0.6148 GB, free: 4.363 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.5524, allocations: 39.94 kB / 0.6148 GB, free: 4.324 MB / 426.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.001172/0.5536, allocations: 463.5 kB / 0.6153 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.5538, allocations: 67.86 kB / 0.6153 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5538, allocations: 0 / 0.6153 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.5539, allocations: 35.92 kB / 0.6154 GB, free: 3.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.5543, allocations: 27.97 kB / 0.6154 GB, free: 3.902 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.5548, allocations: 283.9 kB / 0.6157 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.5551, allocations: 0.7082 MB / 0.6163 GB, free: 2.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.5552, allocations: 15.44 kB / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5552, allocations: 0 / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of Templates: time 0.004272/0.5595, allocations: 1.981 MB / 0.6183 GB, free: 0.8633 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches