Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 194.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 226.5 MB / 244.1 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007455/0.0007458, allocations: 103.8 kB / 296.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2809/0.2809, allocations: 44.82 MB / 393 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 8 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2801, allocations: 62.96 MB / 0.5165 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3863, allocations: 90.88 MB / 0.6052 GB, free: 14.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.3865, allocations: 71.97 kB / 0.6053 GB, free: 14.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01858/0.4051, allocations: 7.254 MB / 0.6124 GB, free: 7.156 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.138e-05/0.4052, allocations: 0 / 0.6124 GB, free: 7.156 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4052, allocations: 3.938 kB / 0.6124 GB, free: 7.152 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.0005535/0.4058, allocations: 435 kB / 0.6128 GB, free: 6.676 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4058, allocations: 16.03 kB / 0.6128 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.4059, allocations: 12.75 kB / 0.6128 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.4062, allocations: 214.7 kB / 0.613 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4062, allocations: 4.375 kB / 0.613 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.4062, allocations: 384 / 0.613 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.4064, allocations: 75.5 kB / 0.6131 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4064, allocations: 0 / 0.6131 GB, free: 6.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4064, allocations: 4 kB / 0.6131 GB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4064, allocations: 4 kB / 0.6131 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.4065, allocations: 19.98 kB / 0.6131 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.4069, allocations: 296.8 kB / 0.6134 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.4071, allocations: 58.67 kB / 0.6135 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.4072, allocations: 20.8 kB / 0.6135 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4072, allocations: 8 kB / 0.6135 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.4074, allocations: 71.31 kB / 0.6136 GB, free: 5.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4074, allocations: 0 / 0.6136 GB, free: 5.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005734/0.408, allocations: 181.2 kB / 0.6137 GB, free: 5.582 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.408, allocations: 84.98 kB / 0.6138 GB, free: 5.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.4082, allocations: 170.3 kB / 0.614 GB, free: 5.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4082, allocations: 29.7 kB / 0.614 GB, free: 5.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.4082, allocations: 100.1 kB / 0.6141 GB, free: 5.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.4083, allocations: 23.66 kB / 0.6141 GB, free: 5.145 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.4083, allocations: 0 / 0.6141 GB, free: 5.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.4084, allocations: 326.8 kB / 0.6144 GB, free: 4.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.4084, allocations: 19.98 kB / 0.6145 GB, free: 4.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.4085, allocations: 42.56 kB / 0.6145 GB, free: 4.746 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.4086, allocations: 69.67 kB / 0.6146 GB, free: 4.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4086, allocations: 0 / 0.6146 GB, free: 4.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.4088, allocations: 93.67 kB / 0.6147 GB, free: 4.574 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4088, allocations: 11.98 kB / 0.6147 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4089, allocations: 80 / 0.6147 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4089, allocations: 0 / 0.6147 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.409, allocations: 15.94 kB / 0.6147 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.409, allocations: 7.984 kB / 0.6147 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.409, allocations: 8.016 kB / 0.6147 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.409, allocations: 4 kB / 0.6147 GB, free: 4.527 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.552e-05/0.4092, allocations: 125.8 kB / 0.6148 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.4092, allocations: 11.81 kB / 0.6148 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4094, allocations: 114.3 kB / 0.6149 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4095, allocations: 4 kB / 0.6149 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4095, allocations: 0 / 0.6149 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4095, allocations: 0 / 0.6149 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.41, allocations: 415.5 kB / 0.6153 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.41, allocations: 0 / 0.6153 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.41, allocations: 11.98 kB / 0.6154 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.41, allocations: 3.938 kB / 0.6154 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4101, allocations: 4 kB / 0.6154 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4101, allocations: 3.938 kB / 0.6154 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4101, allocations: 3.938 kB / 0.6154 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.4103, allocations: 208.3 kB / 0.6156 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.4104, allocations: 96.91 kB / 0.6157 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.4104, allocations: 8 kB / 0.6157 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.4105, allocations: 11.86 kB / 0.6157 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.4106, allocations: 7.938 kB / 0.6157 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.4106, allocations: 4 kB / 0.6157 GB, free: 3.398 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.4107, allocations: 139.2 kB / 0.6158 GB, free: 3.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4107, allocations: 0 / 0.6158 GB, free: 3.262 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.411, allocations: 55.92 kB / 0.6159 GB, free: 3.207 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.001122/0.4122, allocations: 0.5561 MB / 0.6164 GB, free: 2.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.4124, allocations: 63.91 kB / 0.6165 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4124, allocations: 0 / 0.6165 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.4124, allocations: 35.92 kB / 0.6165 GB, free: 2.738 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.4128, allocations: 27.97 kB / 0.6165 GB, free: 2.711 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.4132, allocations: 247.8 kB / 0.6168 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4135, allocations: 0.6965 MB / 0.6175 GB, free: 1.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.4136, allocations: 23.42 kB / 0.6175 GB, free: 1.688 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4136, allocations: 0 / 0.6175 GB, free: 1.688 MB / 426.7 MB Notification: Performance of Templates: time 0.003984/0.4176, allocations: 2.401 MB / 0.6198 GB, free: 15.29 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches