Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000967/0.0009671, allocations: 201 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007499/0.0007498, allocations: 97.31 kB / 297.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3326/0.3326, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 15.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3647, allocations: 62.96 MB / 0.5184 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4891, allocations: 90.6 MB / 0.6069 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.4894, allocations: 79.95 kB / 0.607 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01952/0.509, allocations: 6.517 MB / 0.6133 GB, free: 8.102 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.509, allocations: 0 / 0.6133 GB, free: 8.102 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.5091, allocations: 3.938 kB / 0.6134 GB, free: 8.098 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.0007926/0.5099, allocations: 462.8 kB / 0.6138 GB, free: 7.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.446e-05/0.51, allocations: 8.031 kB / 0.6138 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.51, allocations: 8.844 kB / 0.6138 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.5104, allocations: 228.5 kB / 0.614 GB, free: 7.316 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.5105, allocations: 12.31 kB / 0.614 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.5105, allocations: 384 / 0.614 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.5107, allocations: 58.17 kB / 0.6141 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5107, allocations: 4.188 kB / 0.6141 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.5107, allocations: 7.938 kB / 0.6141 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5107, allocations: 0 / 0.6141 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.5108, allocations: 19.98 kB / 0.6141 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.5112, allocations: 296.8 kB / 0.6144 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.5114, allocations: 66.55 kB / 0.6145 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.5115, allocations: 20.86 kB / 0.6145 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.5115, allocations: 4 kB / 0.6145 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.5117, allocations: 67.38 kB / 0.6146 GB, free: 6.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.5117, allocations: 0 / 0.6146 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005852/0.5123, allocations: 181.3 kB / 0.6147 GB, free: 6.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.5123, allocations: 51.41 kB / 0.6148 GB, free: 6.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.5126, allocations: 224.3 kB / 0.615 GB, free: 6.211 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.5126, allocations: 25.7 kB / 0.615 GB, free: 6.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.5127, allocations: 120 kB / 0.6151 GB, free: 6.059 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.5128, allocations: 27.62 kB / 0.6152 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.5128, allocations: 4 kB / 0.6152 GB, free: 6.027 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5129, allocations: 330.8 kB / 0.6155 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.513, allocations: 15.98 kB / 0.6155 GB, free: 5.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.5131, allocations: 41.64 kB / 0.6155 GB, free: 5.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.5132, allocations: 57.72 kB / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5132, allocations: 4 kB / 0.6156 GB, free: 5.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.5134, allocations: 101.7 kB / 0.6157 GB, free: 5.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5134, allocations: 8 kB / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5134, allocations: 0 / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5135, allocations: 7.984 kB / 0.6157 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.5136, allocations: 15.98 kB / 0.6157 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5136, allocations: 8.031 kB / 0.6157 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.5136, allocations: 0 / 0.6157 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5136, allocations: 4 kB / 0.6157 GB, free: 5.418 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.0001299/0.5138, allocations: 139.5 kB / 0.6159 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.5138, allocations: 11.81 kB / 0.6159 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.5141, allocations: 127.1 kB / 0.616 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5141, allocations: 0 / 0.616 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5141, allocations: 0 / 0.616 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5141, allocations: 7.984 kB / 0.616 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.5146, allocations: 431.4 kB / 0.6164 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5147, allocations: 0 / 0.6164 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.5147, allocations: 8 kB / 0.6164 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5147, allocations: 0 / 0.6164 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.5147, allocations: 4 kB / 0.6164 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5147, allocations: 0 / 0.6164 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5147, allocations: 3.938 kB / 0.6164 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.515, allocations: 220.2 kB / 0.6166 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.5151, allocations: 92.92 kB / 0.6167 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.5151, allocations: 11.98 kB / 0.6167 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.5152, allocations: 0 / 0.6167 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.5153, allocations: 7.938 kB / 0.6168 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.5153, allocations: 7.984 kB / 0.6168 GB, free: 4.258 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.5154, allocations: 169.2 kB / 0.6169 GB, free: 4.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5155, allocations: 3.938 kB / 0.6169 GB, free: 4.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.5157, allocations: 39.92 kB / 0.617 GB, free: 4.051 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.001075/0.5168, allocations: 465.2 kB / 0.6174 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.517, allocations: 63.91 kB / 0.6175 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.517, allocations: 0 / 0.6175 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.5171, allocations: 31.97 kB / 0.6175 GB, free: 3.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.5175, allocations: 26.8 kB / 0.6175 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.5181, allocations: 286.6 kB / 0.6178 GB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.5185, allocations: 0.7083 MB / 0.6185 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.5186, allocations: 20.86 kB / 0.6185 GB, free: 2.578 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.5186, allocations: 15.44 kB / 0.6185 GB, free: 2.562 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5186, allocations: 0 / 0.6185 GB, free: 2.562 MB / 426.7 MB Notification: Performance of Templates: time 0.004968/0.5236, allocations: 1.775 MB / 0.6203 GB, free: 0.8008 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches