Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 195.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.5 MB / 244.1 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008733/0.0008734, allocations: 104.2 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3324/0.3324, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3416, allocations: 62.95 MB / 0.5165 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4566, allocations: 90.46 MB / 0.6048 GB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.4569, allocations: 71.97 kB / 0.6049 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.4741, allocations: 6.354 MB / 0.6111 GB, free: 8.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4741, allocations: 0 / 0.6111 GB, free: 8.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.4742, allocations: 0 / 0.6111 GB, free: 8.488 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006075/0.4748, allocations: 439 kB / 0.6115 GB, free: 8.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4748, allocations: 8.031 kB / 0.6115 GB, free: 8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.4749, allocations: 12.84 kB / 0.6115 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.4752, allocations: 220.6 kB / 0.6117 GB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4752, allocations: 4.375 kB / 0.6117 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.4753, allocations: 384 / 0.6117 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4754, allocations: 54.23 kB / 0.6118 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4754, allocations: 4.172 kB / 0.6118 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4754, allocations: 3.938 kB / 0.6118 GB, free: 7.664 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4754, allocations: 0 / 0.6118 GB, free: 7.664 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.4755, allocations: 19.92 kB / 0.6118 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.4757, allocations: 193.7 kB / 0.612 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.4759, allocations: 46.62 kB / 0.6121 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.4759, allocations: 20.84 kB / 0.6121 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.476, allocations: 0 / 0.6121 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.4761, allocations: 75.39 kB / 0.6121 GB, free: 7.242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 3.477e-06/0.4761, allocations: 0 / 0.6121 GB, free: 7.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003146/0.4765, allocations: 109.3 kB / 0.6122 GB, free: 7.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4765, allocations: 55.41 kB / 0.6123 GB, free: 7.062 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.4767, allocations: 192.1 kB / 0.6125 GB, free: 6.867 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.4767, allocations: 29.7 kB / 0.6125 GB, free: 6.832 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.4768, allocations: 104.1 kB / 0.6126 GB, free: 6.727 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.4768, allocations: 15.84 kB / 0.6126 GB, free: 6.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.4768, allocations: 0 / 0.6126 GB, free: 6.711 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.477, allocations: 326.8 kB / 0.6129 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.477, allocations: 19.92 kB / 0.613 GB, free: 6.363 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.4771, allocations: 29.7 kB / 0.613 GB, free: 6.328 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.783e-05/0.4772, allocations: 49.64 kB / 0.613 GB, free: 6.273 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4772, allocations: 0 / 0.613 GB, free: 6.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001599/0.4774, allocations: 89.44 kB / 0.6131 GB, free: 6.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4774, allocations: 7.938 kB / 0.6131 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4774, allocations: 0 / 0.6131 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4774, allocations: 0 / 0.6131 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.4775, allocations: 15.98 kB / 0.6131 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4775, allocations: 0 / 0.6131 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.4776, allocations: 7.938 kB / 0.6131 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4776, allocations: 4 kB / 0.6132 GB, free: 6.145 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 (7): * Single equations (assignments): 7 * 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.0001003/0.4777, allocations: 121.8 kB / 0.6133 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.4777, allocations: 23.78 kB / 0.6133 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.4779, allocations: 90.61 kB / 0.6134 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.478, allocations: 4 kB / 0.6134 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.478, allocations: 0 / 0.6134 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.478, allocations: 3.984 kB / 0.6134 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.4781, allocations: 189.6 kB / 0.6136 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4781, allocations: 0 / 0.6136 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.4782, allocations: 4 kB / 0.6136 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4782, allocations: 7.938 kB / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4782, allocations: 384 / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4782, allocations: 4 kB / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4782, allocations: 0 / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.4784, allocations: 117 kB / 0.6137 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.4785, allocations: 100.9 kB / 0.6138 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.4785, allocations: 3.938 kB / 0.6138 GB, free: 5.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.4786, allocations: 4 kB / 0.6138 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.4786, allocations: 3.984 kB / 0.6138 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4786, allocations: 8 kB / 0.6138 GB, free: 5.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.4787, allocations: 147.2 kB / 0.6139 GB, free: 5.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4787, allocations: 0 / 0.6139 GB, free: 5.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.479, allocations: 19.94 kB / 0.614 GB, free: 5.211 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008655/0.4798, allocations: 428.8 kB / 0.6144 GB, free: 4.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.48, allocations: 39.92 kB / 0.6144 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.48, allocations: 0 / 0.6144 GB, free: 4.891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.4801, allocations: 32.05 kB / 0.6144 GB, free: 4.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.4803, allocations: 20.83 kB / 0.6145 GB, free: 4.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.4808, allocations: 255.1 kB / 0.6147 GB, free: 4.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.4811, allocations: 0.7004 MB / 0.6154 GB, free: 3.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.4811, allocations: 15.44 kB / 0.6154 GB, free: 3.812 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4811, allocations: 0 / 0.6154 GB, free: 3.812 MB / 426.7 MB Notification: Performance of Templates: time 0.003337/0.4845, allocations: 1.751 MB / 0.6171 GB, free: 2.066 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches