Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 190.8 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.364/1.364, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008426/0.0008423, allocations: 95.28 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3549/0.3549, allocations: 44.81 MB / 392.9 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002524, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3019, allocations: 62.96 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.4021, allocations: 90.49 MB / 0.6049 GB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4024, allocations: 71.95 kB / 0.6049 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.4214, allocations: 7.585 MB / 0.6123 GB, free: 7.254 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4215, allocations: 0 / 0.6123 GB, free: 7.254 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.4215, allocations: 7.938 kB / 0.6123 GB, free: 7.246 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008954/0.4224, allocations: 0.7465 MB / 0.6131 GB, free: 6.445 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4224, allocations: 8.031 kB / 0.6131 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.4225, allocations: 48.38 kB / 0.6131 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.4233, allocations: 0.5114 MB / 0.6136 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4233, allocations: 384 / 0.6136 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4233, allocations: 4.375 kB / 0.6136 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4235, allocations: 87.86 kB / 0.6137 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4235, allocations: 192 / 0.6137 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4235, allocations: 11.94 kB / 0.6137 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4235, allocations: 3.938 kB / 0.6137 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4237, allocations: 31.97 kB / 0.6138 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.424, allocations: 374.4 kB / 0.6141 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.4243, allocations: 117.2 kB / 0.6142 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.4244, allocations: 37.7 kB / 0.6143 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.4244, allocations: 0 / 0.6143 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.4246, allocations: 120.9 kB / 0.6144 GB, free: 4.961 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.4246, allocations: 0 / 0.6144 GB, free: 4.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004527/0.4251, allocations: 205.3 kB / 0.6146 GB, free: 4.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.4251, allocations: 89.09 kB / 0.6147 GB, free: 4.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.4264, allocations: 0.9911 MB / 0.6156 GB, free: 3.648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.4264, allocations: 29.7 kB / 0.6156 GB, free: 3.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.4266, allocations: 232.1 kB / 0.6159 GB, free: 3.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.4266, allocations: 31.62 kB / 0.6159 GB, free: 3.352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.4266, allocations: 12 kB / 0.6159 GB, free: 3.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4268, allocations: 362.8 kB / 0.6163 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.4269, allocations: 31.98 kB / 0.6163 GB, free: 2.945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.427, allocations: 55.41 kB / 0.6163 GB, free: 2.879 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.4271, allocations: 99.41 kB / 0.6164 GB, free: 2.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4272, allocations: 0 / 0.6164 GB, free: 2.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.4274, allocations: 176.9 kB / 0.6166 GB, free: 2.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4275, allocations: 14.58 kB / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4275, allocations: 0 / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4275, allocations: 4 kB / 0.6166 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4276, allocations: 16 kB / 0.6166 GB, free: 2.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4276, allocations: 7.969 kB / 0.6166 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.4277, allocations: 19.97 kB / 0.6167 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4278, allocations: 4 kB / 0.6167 GB, free: 2.527 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001991/0.428, allocations: 221.7 kB / 0.6169 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.428, allocations: 55.38 kB / 0.6169 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.4284, allocations: 201.6 kB / 0.6171 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4284, allocations: 3.984 kB / 0.6171 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4284, allocations: 4 kB / 0.6171 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4284, allocations: 4 kB / 0.6171 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.4288, allocations: 381.3 kB / 0.6175 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4288, allocations: 256 / 0.6175 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.4289, allocations: 27.92 kB / 0.6175 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4289, allocations: 3.938 kB / 0.6175 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4289, allocations: 4 kB / 0.6175 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4289, allocations: 0 / 0.6175 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4289, allocations: 0 / 0.6175 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.4292, allocations: 217.2 kB / 0.6177 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.4295, allocations: 196.4 kB / 0.6179 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.4295, allocations: 7.938 kB / 0.6179 GB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.4296, allocations: 4 kB / 0.6179 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.4297, allocations: 11.98 kB / 0.618 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4297, allocations: 7.984 kB / 0.618 GB, free: 1.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008109/0.4305, allocations: 0.7409 MB / 0.6187 GB, free: 364 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4305, allocations: 7.938 kB / 0.6187 GB, free: 356 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.4308, allocations: 83.94 kB / 0.6188 GB, free: 272 kB / 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008346/0.4317, allocations: 421.2 kB / 0.6192 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4319, allocations: 83.84 kB / 0.6193 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4319, allocations: 0 / 0.6193 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.432, allocations: 47.97 kB / 0.6193 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.4325, allocations: 71.16 kB / 0.6194 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.4338, allocations: 1.039 MB / 0.6204 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.4342, allocations: 0.8468 MB / 0.6212 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4343, allocations: 39.44 kB / 0.6212 GB, free: 13.79 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4343, allocations: 0 / 0.6212 GB, free: 13.79 MB / 442.7 MB Notification: Performance of Templates: time 0.008418/0.4427, allocations: 5.629 MB / 0.6267 GB, free: 8.172 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches