Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 201.2 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.564/1.564, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009096/0.0009095, allocations: 88.91 kB / 297.5 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.3782/0.3782, allocations: 44.83 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002747, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.368, allocations: 62.96 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4939, allocations: 89.68 MB / 0.606 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.4942, allocations: 83.94 kB / 0.6061 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01388/0.5081, allocations: 5.477 MB / 0.6114 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.5081, allocations: 0 / 0.6114 GB, free: 10.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.5081, allocations: 8 kB / 0.6114 GB, free: 10.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004279/0.5086, allocations: 399.5 kB / 0.6118 GB, free: 9.602 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5086, allocations: 12.02 kB / 0.6118 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.5086, allocations: 4.938 kB / 0.6118 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.5089, allocations: 212 kB / 0.612 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5089, allocations: 384 / 0.612 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.5089, allocations: 384 / 0.612 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.5091, allocations: 71.91 kB / 0.6121 GB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5091, allocations: 192 / 0.6121 GB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5091, allocations: 7.922 kB / 0.6121 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.5091, allocations: 0 / 0.6121 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.5092, allocations: 27.98 kB / 0.6121 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.5096, allocations: 284.9 kB / 0.6124 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.5099, allocations: 50.5 kB / 0.6125 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.5099, allocations: 16.94 kB / 0.6125 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5099, allocations: 0 / 0.6125 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.51, allocations: 46.56 kB / 0.6125 GB, free: 8.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.51, allocations: 0 / 0.6125 GB, free: 8.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006026/0.5106, allocations: 161.3 kB / 0.6127 GB, free: 8.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.5107, allocations: 81.11 kB / 0.6127 GB, free: 8.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.5108, allocations: 145.8 kB / 0.6129 GB, free: 8.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.5108, allocations: 25.7 kB / 0.6129 GB, free: 8.316 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.5109, allocations: 96.03 kB / 0.613 GB, free: 8.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.5109, allocations: 19.69 kB / 0.613 GB, free: 8.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.5109, allocations: 0 / 0.613 GB, free: 8.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5111, allocations: 328 kB / 0.6133 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.5111, allocations: 27.98 kB / 0.6134 GB, free: 7.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.5112, allocations: 33.7 kB / 0.6134 GB, free: 7.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5114, allocations: 60.86 kB / 0.6135 GB, free: 7.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5114, allocations: 0 / 0.6135 GB, free: 7.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001978/0.5116, allocations: 97.56 kB / 0.6135 GB, free: 7.641 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5116, allocations: 4 kB / 0.6136 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5116, allocations: 0 / 0.6136 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5116, allocations: 0 / 0.6136 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.5117, allocations: 23.92 kB / 0.6136 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5117, allocations: 0 / 0.6136 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.5118, allocations: 7.938 kB / 0.6136 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.5118, allocations: 8 kB / 0.6136 GB, free: 7.598 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.878e-05/0.5119, allocations: 121.8 kB / 0.6137 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.5119, allocations: 7.906 kB / 0.6137 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.5122, allocations: 102 kB / 0.6138 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5122, allocations: 0 / 0.6138 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5122, allocations: 0 / 0.6138 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5122, allocations: 4 kB / 0.6138 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.5127, allocations: 374.4 kB / 0.6142 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5127, allocations: 384 / 0.6142 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.5128, allocations: 15.98 kB / 0.6142 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5128, allocations: 0 / 0.6142 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.5128, allocations: 4 kB / 0.6142 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5128, allocations: 3.938 kB / 0.6142 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5128, allocations: 4.219 kB / 0.6142 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.5131, allocations: 199.4 kB / 0.6144 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.5132, allocations: 92.98 kB / 0.6145 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5132, allocations: 4 kB / 0.6145 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.5133, allocations: 8 kB / 0.6145 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.5133, allocations: 11.92 kB / 0.6145 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.5133, allocations: 0 / 0.6145 GB, free: 6.559 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.824e-05/0.5134, allocations: 110.5 kB / 0.6146 GB, free: 6.453 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5134, allocations: 4 kB / 0.6146 GB, free: 6.449 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000298/0.5137, allocations: 51.86 kB / 0.6147 GB, free: 6.398 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00119/0.5149, allocations: 0.4948 MB / 0.6151 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.5152, allocations: 59.91 kB / 0.6152 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5152, allocations: 0 / 0.6152 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.5153, allocations: 27.98 kB / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.5155, allocations: 17 kB / 0.6152 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.5159, allocations: 192.2 kB / 0.6154 GB, free: 5.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.5163, allocations: 0.6926 MB / 0.6161 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.203e-05/0.5164, allocations: 19.95 kB / 0.6161 GB, free: 5.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.5164, allocations: 19.44 kB / 0.6161 GB, free: 4.996 MB / 426.7 MB Notification: Performance of SimCode: time 2.615e-06/0.5164, allocations: 0 / 0.6161 GB, free: 4.996 MB / 426.7 MB Notification: Performance of Templates: time 0.004401/0.5208, allocations: 1.693 MB / 0.6178 GB, free: 3.309 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches