Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 226.5 MB / 245.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007999/0.0008, allocations: 100.6 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4237/0.4237, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003022, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3418, allocations: 62.95 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4633, allocations: 90.88 MB / 0.6072 GB, free: 14.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4636, allocations: 75.95 kB / 0.6072 GB, free: 14.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01963/0.4832, allocations: 7.255 MB / 0.6143 GB, free: 7.078 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.811e-06/0.4833, allocations: 0 / 0.6143 GB, free: 7.078 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4833, allocations: 3.938 kB / 0.6143 GB, free: 7.074 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.0005144/0.4838, allocations: 435 kB / 0.6147 GB, free: 6.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4838, allocations: 8.031 kB / 0.6148 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.4839, allocations: 12.75 kB / 0.6148 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.4842, allocations: 222.9 kB / 0.615 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4842, allocations: 4.375 kB / 0.615 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.4843, allocations: 384 / 0.615 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4844, allocations: 75.5 kB / 0.6151 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4845, allocations: 0 / 0.6151 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.4845, allocations: 8 kB / 0.6151 GB, free: 6.227 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4845, allocations: 0 / 0.6151 GB, free: 6.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.6e-05/0.4846, allocations: 23.92 kB / 0.6151 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.485, allocations: 292.8 kB / 0.6154 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.4852, allocations: 58.67 kB / 0.6154 GB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.4852, allocations: 20.86 kB / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.4852, allocations: 0 / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.4854, allocations: 75.31 kB / 0.6155 GB, free: 5.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.4854, allocations: 4 kB / 0.6155 GB, free: 5.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005425/0.486, allocations: 181.4 kB / 0.6157 GB, free: 5.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.486, allocations: 81.05 kB / 0.6158 GB, free: 5.406 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4862, allocations: 171.4 kB / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.4863, allocations: 25.7 kB / 0.616 GB, free: 5.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.4863, allocations: 100.1 kB / 0.6161 GB, free: 5.098 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.4864, allocations: 27.64 kB / 0.6161 GB, free: 5.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-06/0.4864, allocations: 4 kB / 0.6161 GB, free: 5.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4865, allocations: 326.8 kB / 0.6164 GB, free: 4.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.4866, allocations: 23.98 kB / 0.6164 GB, free: 4.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.4866, allocations: 42.5 kB / 0.6165 GB, free: 4.664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.4868, allocations: 65.64 kB / 0.6165 GB, free: 4.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4868, allocations: 0 / 0.6165 GB, free: 4.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.4869, allocations: 105.6 kB / 0.6166 GB, free: 4.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.487, allocations: 6.5 kB / 0.6166 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.487, allocations: 0 / 0.6166 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.487, allocations: 0 / 0.6166 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.4871, allocations: 19.94 kB / 0.6166 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4871, allocations: 0 / 0.6166 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.4872, allocations: 7.984 kB / 0.6167 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.4872, allocations: 0 / 0.6167 GB, free: 4.453 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 9.355e-05/0.4873, allocations: 132.2 kB / 0.6168 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.4873, allocations: 15.8 kB / 0.6168 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.4875, allocations: 118.3 kB / 0.6169 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4876, allocations: 0 / 0.6169 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4876, allocations: 0 / 0.6169 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4876, allocations: 3.984 kB / 0.6169 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.488, allocations: 407.2 kB / 0.6173 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.488, allocations: 4.031 kB / 0.6173 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.4881, allocations: 11.98 kB / 0.6173 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4881, allocations: 4 kB / 0.6173 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.4881, allocations: 0 / 0.6173 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.4881, allocations: 7.875 kB / 0.6173 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4881, allocations: 4 kB / 0.6173 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.4884, allocations: 200.2 kB / 0.6175 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.4884, allocations: 104.9 kB / 0.6176 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4885, allocations: 0 / 0.6176 GB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.4886, allocations: 16.3 kB / 0.6176 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.4886, allocations: 7.938 kB / 0.6176 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4886, allocations: 0 / 0.6176 GB, free: 3.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.4887, allocations: 131.2 kB / 0.6178 GB, free: 3.195 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4887, allocations: 3.938 kB / 0.6178 GB, free: 3.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.4891, allocations: 63.91 kB / 0.6178 GB, free: 3.129 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.001283/0.4904, allocations: 0.5528 MB / 0.6184 GB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.4906, allocations: 55.92 kB / 0.6184 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4906, allocations: 0 / 0.6184 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.4907, allocations: 35.92 kB / 0.6185 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.4911, allocations: 32.09 kB / 0.6185 GB, free: 2.633 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.4916, allocations: 218 kB / 0.6187 GB, free: 2.391 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.4919, allocations: 0.7004 MB / 0.6194 GB, free: 1.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.43e-05/0.492, allocations: 20.84 kB / 0.6194 GB, free: 1.645 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.4921, allocations: 19.42 kB / 0.6194 GB, free: 1.625 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4921, allocations: 0 / 0.6194 GB, free: 1.625 MB / 426.7 MB Notification: Performance of Templates: time 0.005618/0.4977, allocations: 2.292 MB / 0.6217 GB, free: 15.34 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches