Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 106.4 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3377/0.3377, allocations: 44.81 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 12 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3329, allocations: 62.95 MB / 0.5165 GB, free: 37.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4439, allocations: 91.57 MB / 0.6059 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4442, allocations: 71.97 kB / 0.606 GB, free: 13.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01402/0.4582, allocations: 5.185 MB / 0.611 GB, free: 8.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4582, allocations: 3.938 kB / 0.611 GB, free: 8.535 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.4583, allocations: 8 kB / 0.611 GB, free: 8.527 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.0005985/0.4589, allocations: 0.4889 MB / 0.6115 GB, free: 7.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.4589, allocations: 8.031 kB / 0.6115 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.459, allocations: 16.75 kB / 0.6115 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.4593, allocations: 249.5 kB / 0.6118 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4593, allocations: 4.375 kB / 0.6118 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.4593, allocations: 8.375 kB / 0.6118 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.4596, allocations: 108.7 kB / 0.6119 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4596, allocations: 192 / 0.6119 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.4596, allocations: 7.938 kB / 0.6119 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4596, allocations: 11.94 kB / 0.6119 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.4598, allocations: 51.97 kB / 0.612 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.4603, allocations: 0.5243 MB / 0.6125 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.4606, allocations: 86.67 kB / 0.6126 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.4608, allocations: 52.77 kB / 0.6126 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.4608, allocations: 0 / 0.6126 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.461, allocations: 83.38 kB / 0.6127 GB, free: 6.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.461, allocations: 0 / 0.6127 GB, free: 6.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003686/0.4613, allocations: 157.4 kB / 0.6128 GB, free: 6.484 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.4614, allocations: 51.41 kB / 0.6129 GB, free: 6.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.4616, allocations: 194.9 kB / 0.6131 GB, free: 6.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.4616, allocations: 33.7 kB / 0.6131 GB, free: 6.188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.4617, allocations: 115.9 kB / 0.6132 GB, free: 6.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.4617, allocations: 27.64 kB / 0.6132 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.4617, allocations: 4 kB / 0.6132 GB, free: 6.039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4619, allocations: 330.8 kB / 0.6136 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.945e-05/0.462, allocations: 35.97 kB / 0.6136 GB, free: 5.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.4621, allocations: 64.59 kB / 0.6137 GB, free: 5.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.4623, allocations: 109.2 kB / 0.6138 GB, free: 5.473 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4623, allocations: 0 / 0.6138 GB, free: 5.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002627/0.4626, allocations: 145.4 kB / 0.6139 GB, free: 5.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4626, allocations: 8 kB / 0.6139 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4626, allocations: 3.984 kB / 0.6139 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4626, allocations: 0 / 0.6139 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.4627, allocations: 23.94 kB / 0.6139 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.4627, allocations: 7.984 kB / 0.6139 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.4628, allocations: 11.84 kB / 0.614 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.4628, allocations: 11.94 kB / 0.614 GB, free: 5.258 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 9.989e-05/0.4629, allocations: 132.9 kB / 0.6141 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.463, allocations: 19.8 kB / 0.6141 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.4633, allocations: 139 kB / 0.6142 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4633, allocations: 0 / 0.6142 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4633, allocations: 0 / 0.6142 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4633, allocations: 0 / 0.6142 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.4635, allocations: 221.5 kB / 0.6145 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4635, allocations: 4 kB / 0.6145 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.05e-05/0.4636, allocations: 23.88 kB / 0.6145 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4636, allocations: 0 / 0.6145 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4636, allocations: 3.984 kB / 0.6145 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4636, allocations: 4 kB / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4636, allocations: 0 / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.464, allocations: 207.9 kB / 0.6147 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.4641, allocations: 96.89 kB / 0.6148 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.4641, allocations: 4 kB / 0.6148 GB, free: 4.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.4642, allocations: 11.98 kB / 0.6148 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.4642, allocations: 3.984 kB / 0.6148 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4643, allocations: 8 kB / 0.6148 GB, free: 4.305 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.4644, allocations: 155.5 kB / 0.615 GB, free: 4.156 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4644, allocations: 4.062 kB / 0.615 GB, free: 4.152 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000241/0.4646, allocations: 32.12 kB / 0.615 GB, free: 4.121 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.0008885/0.4655, allocations: 412.7 kB / 0.6154 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.4658, allocations: 87.83 kB / 0.6155 GB, free: 3.766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4658, allocations: 256 / 0.6155 GB, free: 3.766 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4659, allocations: 55.91 kB / 0.6155 GB, free: 3.711 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.4662, allocations: 31.97 kB / 0.6156 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004935/0.4667, allocations: 322.2 kB / 0.6159 GB, free: 3.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.467, allocations: 0.7126 MB / 0.6166 GB, free: 2.602 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.467, allocations: 15.44 kB / 0.6166 GB, free: 2.586 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.467, allocations: 4 kB / 0.6166 GB, free: 2.582 MB / 426.7 MB Notification: Performance of Templates: time 0.003763/0.4708, allocations: 2.225 MB / 0.6187 GB, free: 380 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches