Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009976/0.0009977, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00083/0.0008298, allocations: 100.5 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.406/0.406, allocations: 44.83 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002839, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3832, allocations: 62.96 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5232, allocations: 89.61 MB / 0.6059 GB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5235, allocations: 71.95 kB / 0.606 GB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.5394, allocations: 5.575 MB / 0.6114 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.5394, allocations: 0 / 0.6114 GB, free: 10.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.5394, allocations: 4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007976/0.5402, allocations: 447.2 kB / 0.6119 GB, free: 9.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.5403, allocations: 12.81 kB / 0.6119 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.5404, allocations: 16.75 kB / 0.6119 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.5408, allocations: 228.5 kB / 0.6121 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.5408, allocations: 4.375 kB / 0.6121 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.5409, allocations: 8.375 kB / 0.6121 GB, free: 9.254 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.5411, allocations: 74.22 kB / 0.6122 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.5411, allocations: 192 / 0.6122 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.5411, allocations: 7.938 kB / 0.6122 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5411, allocations: 0 / 0.6122 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.5413, allocations: 51.91 kB / 0.6123 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.5419, allocations: 360.6 kB / 0.6126 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.5421, allocations: 66.5 kB / 0.6127 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.5421, allocations: 30.03 kB / 0.6127 GB, free: 8.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5422, allocations: 4 kB / 0.6127 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.5422, allocations: 30.56 kB / 0.6127 GB, free: 8.566 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.5422, allocations: 0 / 0.6127 GB, free: 8.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001113/0.5433, allocations: 364.2 kB / 0.6131 GB, free: 8.207 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5434, allocations: 55.34 kB / 0.6131 GB, free: 8.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.5437, allocations: 235.4 kB / 0.6134 GB, free: 7.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.5437, allocations: 25.7 kB / 0.6134 GB, free: 7.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.5438, allocations: 112 kB / 0.6135 GB, free: 7.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.5438, allocations: 47.39 kB / 0.6135 GB, free: 7.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.5439, allocations: 0 / 0.6135 GB, free: 7.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.544, allocations: 330.8 kB / 0.6138 GB, free: 7.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.5441, allocations: 47.97 kB / 0.6139 GB, free: 7.324 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.041e-05/0.5442, allocations: 47.97 kB / 0.6139 GB, free: 7.277 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.5444, allocations: 112.8 kB / 0.614 GB, free: 7.164 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5444, allocations: 0 / 0.614 GB, free: 7.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002803/0.5447, allocations: 165.6 kB / 0.6142 GB, free: 6.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5447, allocations: 8 kB / 0.6142 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5448, allocations: 0 / 0.6142 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5448, allocations: 0 / 0.6142 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.5449, allocations: 35.92 kB / 0.6142 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.5449, allocations: 4.641 kB / 0.6142 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.545, allocations: 4 kB / 0.6143 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.545, allocations: 8 kB / 0.6143 GB, free: 6.938 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 (13): * Single equations (assignments): 13 * 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.000117/0.5451, allocations: 137.8 kB / 0.6144 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.5452, allocations: 11.81 kB / 0.6144 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.5455, allocations: 210.7 kB / 0.6146 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5456, allocations: 0 / 0.6146 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.5456, allocations: 7.922 kB / 0.6146 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5456, allocations: 0 / 0.6146 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.5463, allocations: 0.5225 MB / 0.6151 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5463, allocations: 0 / 0.6151 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.5464, allocations: 31.92 kB / 0.6152 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5464, allocations: 0 / 0.6152 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.5464, allocations: 12.02 kB / 0.6152 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5464, allocations: 4 kB / 0.6152 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5464, allocations: 4 kB / 0.6152 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.5468, allocations: 260.1 kB / 0.6154 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.5468, allocations: 96.91 kB / 0.6155 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.5469, allocations: 11.94 kB / 0.6155 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.547, allocations: 4 kB / 0.6155 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.547, allocations: 11.98 kB / 0.6155 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.547, allocations: 0 / 0.6155 GB, free: 5.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.5472, allocations: 181.2 kB / 0.6157 GB, free: 5.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.343e-06/0.5472, allocations: 0 / 0.6157 GB, free: 5.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.5475, allocations: 47.86 kB / 0.6158 GB, free: 5.297 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009847/0.5485, allocations: 459.1 kB / 0.6162 GB, free: 5.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.5488, allocations: 127.9 kB / 0.6163 GB, free: 4.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5488, allocations: 0 / 0.6163 GB, free: 4.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.5489, allocations: 63.91 kB / 0.6164 GB, free: 4.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.5492, allocations: 27.02 kB / 0.6164 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006802/0.5499, allocations: 359.4 kB / 0.6167 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.5503, allocations: 0.7238 MB / 0.6175 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.638e-05/0.5504, allocations: 28.53 kB / 0.6175 GB, free: 3.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.5505, allocations: 27.42 kB / 0.6175 GB, free: 3.609 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5505, allocations: 3.938 kB / 0.6175 GB, free: 3.605 MB / 426.7 MB Notification: Performance of Templates: time 0.004349/0.5548, allocations: 1.641 MB / 0.6191 GB, free: 1.973 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches