Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 194 kB / 16.79 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.488/1.488, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008845/0.0008844, allocations: 91.78 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3518/0.3518, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.000264, allocations: 12 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2745, allocations: 62.95 MB / 0.5165 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09751/0.3721, allocations: 90.61 MB / 0.605 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3723, allocations: 79.95 kB / 0.605 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01665/0.389, allocations: 6.403 MB / 0.6113 GB, free: 8.262 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.389, allocations: 0 / 0.6113 GB, free: 8.262 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.389, allocations: 8 kB / 0.6113 GB, free: 8.254 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.000519/0.3895, allocations: 446.9 kB / 0.6117 GB, free: 7.766 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3896, allocations: 8.031 kB / 0.6117 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.3896, allocations: 12.75 kB / 0.6117 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.3899, allocations: 224.8 kB / 0.612 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.39, allocations: 4.375 kB / 0.612 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.39, allocations: 4.375 kB / 0.612 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3901, allocations: 58.22 kB / 0.612 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3902, allocations: 192 / 0.612 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3902, allocations: 3.938 kB / 0.612 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3902, allocations: 0 / 0.612 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.3903, allocations: 23.92 kB / 0.6121 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3906, allocations: 300.8 kB / 0.6123 GB, free: 7.047 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.3908, allocations: 58.62 kB / 0.6124 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.3909, allocations: 20.84 kB / 0.6124 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3909, allocations: 3.938 kB / 0.6124 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.391, allocations: 71.39 kB / 0.6125 GB, free: 6.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.391, allocations: 3.938 kB / 0.6125 GB, free: 6.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005234/0.3916, allocations: 173.1 kB / 0.6127 GB, free: 6.691 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.3916, allocations: 59.39 kB / 0.6127 GB, free: 6.621 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.3918, allocations: 196.4 kB / 0.6129 GB, free: 6.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3918, allocations: 29.7 kB / 0.6129 GB, free: 6.387 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.3919, allocations: 100.1 kB / 0.613 GB, free: 6.285 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.3919, allocations: 27.7 kB / 0.613 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.3919, allocations: 4 kB / 0.6131 GB, free: 6.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.392, allocations: 326.8 kB / 0.6134 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.3921, allocations: 27.92 kB / 0.6134 GB, free: 5.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.3921, allocations: 37.7 kB / 0.6134 GB, free: 5.855 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3923, allocations: 57.72 kB / 0.6135 GB, free: 5.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3923, allocations: 4 kB / 0.6135 GB, free: 5.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.3925, allocations: 113.4 kB / 0.6136 GB, free: 5.672 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3925, allocations: 4 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3925, allocations: 0 / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3925, allocations: 4 kB / 0.6136 GB, free: 5.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.3926, allocations: 12 kB / 0.6136 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3926, allocations: 0 / 0.6136 GB, free: 5.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.3927, allocations: 12.36 kB / 0.6136 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3927, allocations: 0 / 0.6136 GB, free: 5.641 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 9.156e-05/0.3928, allocations: 135.4 kB / 0.6138 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.3928, allocations: 7.906 kB / 0.6138 GB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.393, allocations: 123 kB / 0.6139 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.393, allocations: 4 kB / 0.6139 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3931, allocations: 4 kB / 0.6139 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3931, allocations: 0 / 0.6139 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.3935, allocations: 423.2 kB / 0.6143 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3935, allocations: 0 / 0.6143 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.3936, allocations: 15.92 kB / 0.6143 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3936, allocations: 4.281 kB / 0.6143 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3936, allocations: 0 / 0.6143 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3936, allocations: 0 / 0.6143 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3936, allocations: 7.875 kB / 0.6143 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.3938, allocations: 212.2 kB / 0.6145 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.3939, allocations: 96.92 kB / 0.6146 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3939, allocations: 0 / 0.6146 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.394, allocations: 7.984 kB / 0.6146 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.394, allocations: 15.92 kB / 0.6146 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.3941, allocations: 4 kB / 0.6146 GB, free: 4.492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3942, allocations: 143.2 kB / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3942, allocations: 0 / 0.6148 GB, free: 4.352 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.3945, allocations: 35.98 kB / 0.6148 GB, free: 4.316 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.0009228/0.3954, allocations: 475.6 kB / 0.6153 GB, free: 4.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.3956, allocations: 59.91 kB / 0.6153 GB, free: 3.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3956, allocations: 4.062 kB / 0.6153 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.3957, allocations: 35.92 kB / 0.6154 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.396, allocations: 24.3 kB / 0.6154 GB, free: 3.891 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.3964, allocations: 291.8 kB / 0.6157 GB, free: 3.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.3967, allocations: 0.7043 MB / 0.6163 GB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.3967, allocations: 19.42 kB / 0.6164 GB, free: 2.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3967, allocations: 0 / 0.6164 GB, free: 2.82 MB / 426.7 MB Notification: Performance of Templates: time 0.003355/0.4001, allocations: 1.987 MB / 0.6183 GB, free: 0.8398 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches