Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 195.8 kB / 18.1 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.419/1.419, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009617/0.0009616, allocations: 91.69 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.3697/0.3697, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3467, allocations: 62.96 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4721, allocations: 91.57 MB / 0.6079 GB, free: 13.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.4724, allocations: 79.94 kB / 0.6079 GB, free: 13.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.4872, allocations: 5.178 MB / 0.613 GB, free: 8.453 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4872, allocations: 0 / 0.613 GB, free: 8.453 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.4873, allocations: 8 kB / 0.613 GB, free: 8.445 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006896/0.4879, allocations: 0.4928 MB / 0.6135 GB, free: 7.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.488, allocations: 8.031 kB / 0.6135 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.4881, allocations: 16.75 kB / 0.6135 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.4884, allocations: 249.5 kB / 0.6137 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4884, allocations: 8.375 kB / 0.6137 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.4885, allocations: 4.375 kB / 0.6137 GB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.4887, allocations: 108.8 kB / 0.6138 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4887, allocations: 192 / 0.6138 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4887, allocations: 3.938 kB / 0.6139 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4888, allocations: 11.94 kB / 0.6139 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.4889, allocations: 59.91 kB / 0.6139 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.4896, allocations: 0.5165 MB / 0.6144 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.4899, allocations: 86.66 kB / 0.6145 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.49, allocations: 52.83 kB / 0.6146 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.4901, allocations: 3.984 kB / 0.6146 GB, free: 6.652 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.4903, allocations: 87.25 kB / 0.6146 GB, free: 6.555 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4903, allocations: 0 / 0.6146 GB, free: 6.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003963/0.4907, allocations: 157.4 kB / 0.6148 GB, free: 6.395 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.4908, allocations: 51.41 kB / 0.6148 GB, free: 6.332 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.491, allocations: 198.9 kB / 0.615 GB, free: 6.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.491, allocations: 29.7 kB / 0.6151 GB, free: 6.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.4911, allocations: 115.9 kB / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.4911, allocations: 27.64 kB / 0.6152 GB, free: 5.953 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.4911, allocations: 8 kB / 0.6152 GB, free: 5.945 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4913, allocations: 326.8 kB / 0.6155 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.4914, allocations: 35.97 kB / 0.6156 GB, free: 5.582 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.4915, allocations: 67.53 kB / 0.6156 GB, free: 5.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.4917, allocations: 105.2 kB / 0.6157 GB, free: 5.387 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4917, allocations: 0 / 0.6157 GB, free: 5.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002759/0.492, allocations: 145.8 kB / 0.6159 GB, free: 5.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.492, allocations: 8 kB / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.492, allocations: 96 / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.492, allocations: 7.938 kB / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.4921, allocations: 19.98 kB / 0.6159 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4922, allocations: 4 kB / 0.6159 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.4922, allocations: 23.83 kB / 0.6159 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.4923, allocations: 7.938 kB / 0.6159 GB, free: 5.168 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001132/0.4924, allocations: 133.8 kB / 0.6161 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.4924, allocations: 11.81 kB / 0.6161 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.4927, allocations: 143 kB / 0.6162 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4927, allocations: 0 / 0.6162 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4927, allocations: 0 / 0.6162 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4927, allocations: 0 / 0.6162 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.4929, allocations: 221.5 kB / 0.6164 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.493, allocations: 0 / 0.6164 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.493, allocations: 19.94 kB / 0.6164 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4931, allocations: 3.984 kB / 0.6164 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4931, allocations: 3.984 kB / 0.6164 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4931, allocations: 4 kB / 0.6164 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4931, allocations: 0 / 0.6164 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.4935, allocations: 196.8 kB / 0.6166 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.4936, allocations: 104.9 kB / 0.6167 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.4936, allocations: 0 / 0.6167 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/0.4937, allocations: 15.98 kB / 0.6167 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.4937, allocations: 7.938 kB / 0.6168 GB, free: 4.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4937, allocations: 3.984 kB / 0.6168 GB, free: 4.219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.4939, allocations: 155.8 kB / 0.6169 GB, free: 4.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4939, allocations: 64 / 0.6169 GB, free: 4.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.4941, allocations: 36.12 kB / 0.6169 GB, free: 4.035 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000932/0.4951, allocations: 420.3 kB / 0.6173 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.4953, allocations: 83.89 kB / 0.6174 GB, free: 3.672 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.4954, allocations: 0 / 0.6174 GB, free: 3.672 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.4955, allocations: 52.16 kB / 0.6175 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.4958, allocations: 34.31 kB / 0.6175 GB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.4963, allocations: 292.2 kB / 0.6178 GB, free: 3.289 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4966, allocations: 0.7203 MB / 0.6185 GB, free: 2.543 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.4967, allocations: 21.08 kB / 0.6185 GB, free: 2.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.4967, allocations: 15.44 kB / 0.6185 GB, free: 2.504 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4967, allocations: 0 / 0.6185 GB, free: 2.504 MB / 426.7 MB Notification: Performance of Templates: time 0.004849/0.5016, allocations: 1.828 MB / 0.6203 GB, free: 0.6836 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches