Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008237/0.0008236, allocations: 93.78 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3414/0.3414, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 12 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.387, allocations: 62.96 MB / 0.5165 GB, free: 36.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5219, allocations: 90.65 MB / 0.605 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.5222, allocations: 71.97 kB / 0.6051 GB, free: 14.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01924/0.5415, allocations: 6.489 MB / 0.6114 GB, free: 8.102 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5415, allocations: 0 / 0.6114 GB, free: 8.102 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.5415, allocations: 12 kB / 0.6114 GB, free: 8.09 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.000664/0.5422, allocations: 442.9 kB / 0.6119 GB, free: 7.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5423, allocations: 8.031 kB / 0.6119 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.5423, allocations: 16.75 kB / 0.6119 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.5427, allocations: 224.8 kB / 0.6121 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.5427, allocations: 384 / 0.6121 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.5427, allocations: 4.375 kB / 0.6121 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.5429, allocations: 62.23 kB / 0.6122 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5429, allocations: 192 / 0.6122 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.5429, allocations: 3.938 kB / 0.6122 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5429, allocations: 3.938 kB / 0.6122 GB, free: 7.246 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.098e-05/0.543, allocations: 23.92 kB / 0.6122 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.5435, allocations: 296.8 kB / 0.6125 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.5437, allocations: 62.61 kB / 0.6125 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.5437, allocations: 24.8 kB / 0.6125 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.5437, allocations: 0 / 0.6125 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.5439, allocations: 71.38 kB / 0.6126 GB, free: 6.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.5439, allocations: 0 / 0.6126 GB, free: 6.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005892/0.5445, allocations: 177.1 kB / 0.6128 GB, free: 6.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.5446, allocations: 59.41 kB / 0.6128 GB, free: 6.453 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.5448, allocations: 196.4 kB / 0.613 GB, free: 6.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.5448, allocations: 29.7 kB / 0.6131 GB, free: 6.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.5449, allocations: 100.1 kB / 0.6132 GB, free: 6.117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.5449, allocations: 23.7 kB / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.5449, allocations: 0 / 0.6132 GB, free: 6.094 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5451, allocations: 330.8 kB / 0.6135 GB, free: 5.762 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.5452, allocations: 19.94 kB / 0.6135 GB, free: 5.742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.5452, allocations: 41.7 kB / 0.6136 GB, free: 5.695 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.5454, allocations: 61.64 kB / 0.6136 GB, free: 5.629 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5454, allocations: 0 / 0.6136 GB, free: 5.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.5456, allocations: 117.5 kB / 0.6137 GB, free: 5.508 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5456, allocations: 6.5 kB / 0.6137 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5456, allocations: 0 / 0.6137 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5456, allocations: 4.031 kB / 0.6137 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.5457, allocations: 19.98 kB / 0.6138 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5458, allocations: 0 / 0.6138 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.5458, allocations: 4 kB / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.5458, allocations: 4 kB / 0.6138 GB, free: 5.473 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.0001107/0.5459, allocations: 133.7 kB / 0.6139 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.546, allocations: 7.906 kB / 0.6139 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.5462, allocations: 119 kB / 0.614 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5463, allocations: 4.281 kB / 0.614 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.5463, allocations: 384 / 0.614 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5463, allocations: 0 / 0.614 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.5468, allocations: 427.1 kB / 0.6144 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5468, allocations: 4 kB / 0.6144 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.5469, allocations: 15.92 kB / 0.6144 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5469, allocations: 0 / 0.6144 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.5469, allocations: 8 kB / 0.6144 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5469, allocations: 4.031 kB / 0.6144 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5469, allocations: 3.938 kB / 0.6145 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5472, allocations: 208.2 kB / 0.6147 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.5473, allocations: 96.92 kB / 0.6147 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.5473, allocations: 3.984 kB / 0.6147 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.5474, allocations: 4 kB / 0.6148 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.5475, allocations: 15.92 kB / 0.6148 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5475, allocations: 8 kB / 0.6148 GB, free: 4.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.5476, allocations: 143.2 kB / 0.6149 GB, free: 4.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5476, allocations: 0 / 0.6149 GB, free: 4.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.5479, allocations: 32 kB / 0.6149 GB, free: 4.148 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.00109/0.549, allocations: 469.6 kB / 0.6154 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.5492, allocations: 59.91 kB / 0.6154 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5492, allocations: 4 kB / 0.6155 GB, free: 3.789 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.5493, allocations: 31.92 kB / 0.6155 GB, free: 3.758 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.5497, allocations: 33.95 kB / 0.6155 GB, free: 3.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.5502, allocations: 280.3 kB / 0.6158 GB, free: 3.422 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.5506, allocations: 0.716 MB / 0.6165 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.5506, allocations: 15.44 kB / 0.6165 GB, free: 2.664 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5506, allocations: 0 / 0.6165 GB, free: 2.664 MB / 426.7 MB Notification: Performance of Templates: time 0.003935/0.5546, allocations: 1.985 MB / 0.6184 GB, free: 0.6797 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches