Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001492, allocations: 194.6 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.324/1.324, allocations: 226.5 MB / 244.1 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008844/0.0008845, allocations: 102 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3579/0.3579, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002928, allocations: 12 kB / 465.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3837, allocations: 62.96 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.5165, allocations: 90.66 MB / 0.605 GB, free: 14.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5168, allocations: 75.95 kB / 0.6051 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.5349, allocations: 6.442 MB / 0.6114 GB, free: 8.191 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.535, allocations: 0 / 0.6114 GB, free: 8.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.535, allocations: 4 kB / 0.6114 GB, free: 8.188 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.0008074/0.5359, allocations: 454.8 kB / 0.6118 GB, free: 7.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5359, allocations: 12.03 kB / 0.6118 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.536, allocations: 8.844 kB / 0.6118 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.5364, allocations: 220 kB / 0.612 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.5364, allocations: 384 / 0.612 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.5365, allocations: 4.375 kB / 0.612 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.5366, allocations: 54.23 kB / 0.6121 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5367, allocations: 4.188 kB / 0.6121 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.5367, allocations: 7.938 kB / 0.6121 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5367, allocations: 4 kB / 0.6121 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.5368, allocations: 19.92 kB / 0.6121 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.5373, allocations: 292.9 kB / 0.6124 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.5374, allocations: 66.61 kB / 0.6125 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.5375, allocations: 16.86 kB / 0.6125 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5375, allocations: 0 / 0.6125 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.5377, allocations: 79.31 kB / 0.6126 GB, free: 6.801 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5377, allocations: 0 / 0.6126 GB, free: 6.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000644/0.5384, allocations: 173.2 kB / 0.6127 GB, free: 6.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.5384, allocations: 59.41 kB / 0.6128 GB, free: 6.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.5387, allocations: 179.3 kB / 0.613 GB, free: 6.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5387, allocations: 25.7 kB / 0.613 GB, free: 6.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.5388, allocations: 100.1 kB / 0.6131 GB, free: 6.234 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.5388, allocations: 35.56 kB / 0.6131 GB, free: 6.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.5388, allocations: 0 / 0.6131 GB, free: 6.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.539, allocations: 330.8 kB / 0.6134 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.5391, allocations: 19.98 kB / 0.6134 GB, free: 5.848 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.5392, allocations: 41.64 kB / 0.6135 GB, free: 5.801 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.5393, allocations: 65.64 kB / 0.6135 GB, free: 5.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5393, allocations: 0 / 0.6135 GB, free: 5.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000218/0.5395, allocations: 105.6 kB / 0.6136 GB, free: 5.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5396, allocations: 4 kB / 0.6137 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5396, allocations: 0 / 0.6137 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5396, allocations: 7.969 kB / 0.6137 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.5397, allocations: 23.97 kB / 0.6137 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5397, allocations: 0 / 0.6137 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.5398, allocations: 4 kB / 0.6137 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.5398, allocations: 0 / 0.6137 GB, free: 5.582 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.0001151/0.5399, allocations: 131.7 kB / 0.6138 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.5399, allocations: 11.91 kB / 0.6138 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.5402, allocations: 119 kB / 0.6139 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5402, allocations: 0 / 0.6139 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5402, allocations: 4 kB / 0.6139 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5402, allocations: 3.984 kB / 0.6139 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.5408, allocations: 415.2 kB / 0.6143 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5408, allocations: 0 / 0.6143 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.5408, allocations: 8 kB / 0.6143 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5408, allocations: 0 / 0.6143 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.5409, allocations: 4 kB / 0.6144 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5409, allocations: 3.938 kB / 0.6144 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5409, allocations: 11.95 kB / 0.6144 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.5411, allocations: 208.2 kB / 0.6146 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.5412, allocations: 96.91 kB / 0.6147 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.5413, allocations: 0 / 0.6147 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.5413, allocations: 8.75 kB / 0.6147 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.5414, allocations: 11.92 kB / 0.6147 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.5414, allocations: 8 kB / 0.6147 GB, free: 4.449 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.5416, allocations: 142.1 kB / 0.6148 GB, free: 4.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.795e-06/0.5416, allocations: 3.938 kB / 0.6148 GB, free: 4.309 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.5419, allocations: 39.86 kB / 0.6149 GB, free: 4.27 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.001078/0.5429, allocations: 462.9 kB / 0.6153 GB, free: 3.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.5432, allocations: 67.84 kB / 0.6154 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5432, allocations: 0 / 0.6154 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.5433, allocations: 39.91 kB / 0.6154 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.5436, allocations: 20.3 kB / 0.6154 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.5442, allocations: 276.2 kB / 0.6157 GB, free: 3.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.5445, allocations: 0.7043 MB / 0.6164 GB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.5446, allocations: 15.44 kB / 0.6164 GB, free: 2.809 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5446, allocations: 0 / 0.6164 GB, free: 2.809 MB / 426.7 MB Notification: Performance of Templates: time 0.004268/0.5488, allocations: 1.945 MB / 0.6183 GB, free: 0.8672 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches