Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 195.5 kB / 16.78 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.358/1.358, allocations: 226.5 MB / 244.1 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008264/0.0008267, allocations: 95.41 kB / 296.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2891/0.2891, allocations: 44.82 MB / 392.9 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 62.95 MB / 0.5165 GB, free: 37.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3834, allocations: 90.49 MB / 0.6048 GB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.3837, allocations: 79.95 kB / 0.6049 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0201/0.4038, allocations: 7.629 MB / 0.6124 GB, free: 7.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4038, allocations: 0 / 0.6124 GB, free: 7.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.918e-05/0.4039, allocations: 15.88 kB / 0.6124 GB, free: 7.18 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.0009918/0.4049, allocations: 0.7426 MB / 0.6131 GB, free: 6.383 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.4049, allocations: 12.03 kB / 0.6131 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.699e-05/0.405, allocations: 52.28 kB / 0.6132 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.4058, allocations: 0.5153 MB / 0.6137 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.4059, allocations: 8.359 kB / 0.6137 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.4059, allocations: 4.375 kB / 0.6137 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.4061, allocations: 91.86 kB / 0.6138 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4061, allocations: 192 / 0.6138 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4061, allocations: 3.938 kB / 0.6138 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4061, allocations: 7.938 kB / 0.6138 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.4062, allocations: 35.97 kB / 0.6138 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.4066, allocations: 378.4 kB / 0.6142 GB, free: 5.184 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.4069, allocations: 113.2 kB / 0.6143 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.407, allocations: 37.7 kB / 0.6143 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.407, allocations: 0 / 0.6143 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.4073, allocations: 113 kB / 0.6144 GB, free: 4.883 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4073, allocations: 4 kB / 0.6144 GB, free: 4.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004935/0.4078, allocations: 208.8 kB / 0.6146 GB, free: 4.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.4079, allocations: 85.11 kB / 0.6147 GB, free: 4.566 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.4092, allocations: 1.022 MB / 0.6157 GB, free: 3.535 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.4093, allocations: 29.7 kB / 0.6157 GB, free: 3.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.4094, allocations: 240.1 kB / 0.616 GB, free: 3.262 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.4095, allocations: 23.66 kB / 0.616 GB, free: 3.238 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/0.4095, allocations: 0 / 0.616 GB, free: 3.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4097, allocations: 378.8 kB / 0.6164 GB, free: 2.859 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.4098, allocations: 27.98 kB / 0.6164 GB, free: 2.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4099, allocations: 63.34 kB / 0.6164 GB, free: 2.758 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.41, allocations: 91.92 kB / 0.6165 GB, free: 2.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4101, allocations: 3.938 kB / 0.6165 GB, free: 2.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000296/0.4104, allocations: 172.9 kB / 0.6167 GB, free: 2.477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4104, allocations: 14.91 kB / 0.6167 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4104, allocations: 0 / 0.6167 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4104, allocations: 0 / 0.6167 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4106, allocations: 23.98 kB / 0.6167 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4106, allocations: 3.938 kB / 0.6167 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4107, allocations: 23.89 kB / 0.6168 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4107, allocations: 8 kB / 0.6168 GB, free: 2.406 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.0002124/0.4109, allocations: 213.8 kB / 0.617 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.411, allocations: 67.25 kB / 0.617 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.4114, allocations: 197.7 kB / 0.6172 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4114, allocations: 4 kB / 0.6172 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4115, allocations: 0 / 0.6172 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.4115, allocations: 4 kB / 0.6172 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.4118, allocations: 401.2 kB / 0.6176 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4118, allocations: 0 / 0.6176 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.4119, allocations: 12.19 kB / 0.6176 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4119, allocations: 3.938 kB / 0.6176 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.4119, allocations: 8 kB / 0.6176 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4119, allocations: 0 / 0.6176 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4119, allocations: 3.938 kB / 0.6176 GB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.4123, allocations: 217.3 kB / 0.6179 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.4125, allocations: 192.4 kB / 0.618 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.4126, allocations: 7.938 kB / 0.618 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4127, allocations: 15.98 kB / 0.6181 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.4127, allocations: 7.984 kB / 0.6181 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.4127, allocations: 4 kB / 0.6181 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008758/0.4136, allocations: 0.7643 MB / 0.6188 GB, free: 212 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4136, allocations: 4 kB / 0.6188 GB, free: 208 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.414, allocations: 83.94 kB / 0.6189 GB, free: 124 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.000881/0.4148, allocations: 420.7 kB / 0.6193 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.4151, allocations: 87.89 kB / 0.6194 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4151, allocations: 0 / 0.6194 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.4152, allocations: 47.91 kB / 0.6194 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.4157, allocations: 78.98 kB / 0.6195 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4171, allocations: 1.063 MB / 0.6205 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.4175, allocations: 0.8546 MB / 0.6214 GB, free: 13.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4176, allocations: 39.44 kB / 0.6214 GB, free: 13.61 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4177, allocations: 0 / 0.6214 GB, free: 13.61 MB / 442.7 MB Notification: Performance of Templates: time 0.008795/0.4265, allocations: 5.76 MB / 0.627 GB, free: 7.863 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches