Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 197.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007918/0.0007916, allocations: 100.6 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3937/0.3937, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002831, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3746, allocations: 62.97 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4983, allocations: 90.64 MB / 0.607 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.4986, allocations: 87.92 kB / 0.607 GB, free: 14.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01984/0.5185, allocations: 6.486 MB / 0.6134 GB, free: 8.062 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5186, allocations: 0 / 0.6134 GB, free: 8.062 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.5186, allocations: 8 kB / 0.6134 GB, free: 8.055 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.0007798/0.5194, allocations: 438.9 kB / 0.6138 GB, free: 7.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.5194, allocations: 8.031 kB / 0.6138 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.5195, allocations: 16.75 kB / 0.6138 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.52, allocations: 224.8 kB / 0.614 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.52, allocations: 4.375 kB / 0.614 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.52, allocations: 4.375 kB / 0.614 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.5202, allocations: 54.23 kB / 0.6141 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5202, allocations: 4.125 kB / 0.6141 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.5203, allocations: 3.938 kB / 0.6141 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5203, allocations: 0 / 0.6141 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.5204, allocations: 31.91 kB / 0.6141 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.5208, allocations: 296.9 kB / 0.6144 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.521, allocations: 62.61 kB / 0.6145 GB, free: 6.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.5211, allocations: 20.84 kB / 0.6145 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.5211, allocations: 3.938 kB / 0.6145 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.5213, allocations: 71.39 kB / 0.6146 GB, free: 6.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.5213, allocations: 0 / 0.6146 GB, free: 6.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006629/0.522, allocations: 181.1 kB / 0.6147 GB, free: 6.484 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.522, allocations: 51.41 kB / 0.6148 GB, free: 6.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.5223, allocations: 196.1 kB / 0.615 GB, free: 6.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5223, allocations: 33.69 kB / 0.615 GB, free: 6.184 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.5224, allocations: 96.14 kB / 0.6151 GB, free: 6.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5224, allocations: 27.7 kB / 0.6151 GB, free: 6.059 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.5224, allocations: 8 kB / 0.6151 GB, free: 6.051 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5226, allocations: 322.8 kB / 0.6154 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.5226, allocations: 27.92 kB / 0.6155 GB, free: 5.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.5227, allocations: 37.7 kB / 0.6155 GB, free: 5.656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.5228, allocations: 57.64 kB / 0.6156 GB, free: 5.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.5229, allocations: 4 kB / 0.6156 GB, free: 5.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.5231, allocations: 109.4 kB / 0.6157 GB, free: 5.477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5231, allocations: 4 kB / 0.6157 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5231, allocations: 0 / 0.6157 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.5231, allocations: 4 kB / 0.6157 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.5233, allocations: 15.98 kB / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5233, allocations: 0 / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.5234, allocations: 8 kB / 0.6157 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.5234, allocations: 4 kB / 0.6157 GB, free: 5.441 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.0001508/0.5236, allocations: 135.6 kB / 0.6158 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.5236, allocations: 7.906 kB / 0.6158 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.5239, allocations: 123.3 kB / 0.616 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.524, allocations: 4 kB / 0.616 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.524, allocations: 0 / 0.616 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.524, allocations: 0 / 0.616 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.5246, allocations: 431.1 kB / 0.6164 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.5247, allocations: 0 / 0.6164 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.5247, allocations: 11.94 kB / 0.6164 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.5247, allocations: 4 kB / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.5248, allocations: 3.984 kB / 0.6164 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5248, allocations: 384 / 0.6164 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.5248, allocations: 7.938 kB / 0.6164 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.5251, allocations: 212.2 kB / 0.6166 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/0.5252, allocations: 100.9 kB / 0.6167 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.5253, allocations: 4 kB / 0.6167 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5254, allocations: 0 / 0.6167 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.5255, allocations: 15.92 kB / 0.6167 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5255, allocations: 4 kB / 0.6167 GB, free: 4.289 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.5257, allocations: 143.2 kB / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5257, allocations: 0 / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.5261, allocations: 36 kB / 0.6169 GB, free: 4.113 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.001104/0.5272, allocations: 475.1 kB / 0.6173 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.5275, allocations: 55.92 kB / 0.6174 GB, free: 3.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5275, allocations: 4.062 kB / 0.6174 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.5276, allocations: 35.92 kB / 0.6174 GB, free: 3.719 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.5281, allocations: 29.84 kB / 0.6175 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.5287, allocations: 254.2 kB / 0.6177 GB, free: 3.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.529, allocations: 0.7083 MB / 0.6184 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.093e-05/0.5291, allocations: 16.84 kB / 0.6184 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.5292, allocations: 15.44 kB / 0.6184 GB, free: 2.648 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.5292, allocations: 4 kB / 0.6184 GB, free: 2.645 MB / 426.7 MB Notification: Performance of Templates: time 0.005186/0.5344, allocations: 1.718 MB / 0.6201 GB, free: 0.9375 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches