Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.682/1.682, allocations: 226.5 MB / 245.4 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 96.14 kB / 297.5 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4549/0.4549, allocations: 44.82 MB / 394.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4689, allocations: 62.97 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.6014, allocations: 90.64 MB / 0.6069 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.6017, allocations: 79.94 kB / 0.607 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.019/0.6207, allocations: 6.812 MB / 0.6137 GB, free: 7.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6207, allocations: 0 / 0.6137 GB, free: 7.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.6208, allocations: 0 / 0.6137 GB, free: 7.73 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.0007406/0.6215, allocations: 486.5 kB / 0.6141 GB, free: 7.203 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6216, allocations: 8.031 kB / 0.6141 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.6217, allocations: 12.84 kB / 0.6142 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.622, allocations: 236.9 kB / 0.6144 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.6221, allocations: 4.375 kB / 0.6144 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.6221, allocations: 4.375 kB / 0.6144 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.6223, allocations: 58.17 kB / 0.6144 GB, free: 6.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6223, allocations: 192 / 0.6144 GB, free: 6.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.6223, allocations: 3.938 kB / 0.6145 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6223, allocations: 4 kB / 0.6145 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.6224, allocations: 23.97 kB / 0.6145 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.6229, allocations: 308.9 kB / 0.6148 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.6231, allocations: 66.55 kB / 0.6148 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.6231, allocations: 20.86 kB / 0.6149 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.6232, allocations: 0 / 0.6149 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.6233, allocations: 71.28 kB / 0.6149 GB, free: 6.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.6233, allocations: 4 kB / 0.6149 GB, free: 6.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005659/0.6239, allocations: 181.1 kB / 0.6151 GB, free: 6.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.6239, allocations: 55.41 kB / 0.6152 GB, free: 6.023 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.6242, allocations: 267.9 kB / 0.6154 GB, free: 5.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.6243, allocations: 29.7 kB / 0.6154 GB, free: 5.715 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.6243, allocations: 120 kB / 0.6156 GB, free: 5.594 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.6244, allocations: 15.8 kB / 0.6156 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.6244, allocations: 4 kB / 0.6156 GB, free: 5.574 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6245, allocations: 334.8 kB / 0.6159 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.6246, allocations: 27.92 kB / 0.6159 GB, free: 5.211 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.6247, allocations: 37.64 kB / 0.616 GB, free: 5.168 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.6248, allocations: 65.69 kB / 0.616 GB, free: 5.098 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6248, allocations: 0 / 0.616 GB, free: 5.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002321/0.625, allocations: 105.5 kB / 0.6161 GB, free: 4.988 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6251, allocations: 6.969 kB / 0.6161 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.6251, allocations: 384 / 0.6161 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.6251, allocations: 4 kB / 0.6161 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.6252, allocations: 16.17 kB / 0.6161 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.6252, allocations: 0 / 0.6161 GB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.6253, allocations: 19.84 kB / 0.6162 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.6253, allocations: 7.984 kB / 0.6162 GB, free: 4.938 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.0001067/0.6254, allocations: 139.5 kB / 0.6163 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.6254, allocations: 23.8 kB / 0.6163 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.6257, allocations: 123 kB / 0.6164 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6257, allocations: 0 / 0.6164 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6257, allocations: 0 / 0.6164 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6257, allocations: 0 / 0.6164 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.6262, allocations: 447.2 kB / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6263, allocations: 0 / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.6263, allocations: 20.02 kB / 0.6169 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6263, allocations: 0 / 0.6169 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.6263, allocations: 0 / 0.6169 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.6263, allocations: 0 / 0.6169 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6264, allocations: 7.938 kB / 0.6169 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.6266, allocations: 208.1 kB / 0.6171 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.6267, allocations: 104.9 kB / 0.6172 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.6267, allocations: 4 kB / 0.6172 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.6268, allocations: 8 kB / 0.6172 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.6269, allocations: 11.92 kB / 0.6172 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.6269, allocations: 4 kB / 0.6172 GB, free: 3.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.6271, allocations: 196.6 kB / 0.6174 GB, free: 3.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6271, allocations: 0 / 0.6174 GB, free: 3.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.6274, allocations: 43.98 kB / 0.6174 GB, free: 3.516 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.001084/0.6285, allocations: 475.5 kB / 0.6179 GB, free: 3.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.6287, allocations: 55.97 kB / 0.618 GB, free: 3.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6287, allocations: 0 / 0.618 GB, free: 3.156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.6288, allocations: 36.05 kB / 0.618 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.6292, allocations: 27.98 kB / 0.618 GB, free: 3.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.6298, allocations: 326.9 kB / 0.6183 GB, free: 2.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.6301, allocations: 0.716 MB / 0.619 GB, free: 2.004 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.927e-05/0.6302, allocations: 28.48 kB / 0.6191 GB, free: 1.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.6302, allocations: 19.38 kB / 0.6191 GB, free: 1.957 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6303, allocations: 4 kB / 0.6191 GB, free: 1.953 MB / 426.7 MB Notification: Performance of Templates: time 0.004818/0.6351, allocations: 1.876 MB / 0.6209 GB, free: 96 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches