Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001585, allocations: 196 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007844/0.000784, allocations: 96.31 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3458/0.3458, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 11.98 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4203, allocations: 62.96 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.5563, allocations: 89.68 MB / 0.606 GB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.5565, allocations: 75.95 kB / 0.6061 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01434/0.5709, allocations: 5.48 MB / 0.6114 GB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5709, allocations: 0 / 0.6114 GB, free: 10.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.5709, allocations: 4 kB / 0.6114 GB, free: 10.07 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.0004936/0.5714, allocations: 407.5 kB / 0.6118 GB, free: 9.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5715, allocations: 8.031 kB / 0.6118 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.5715, allocations: 8.875 kB / 0.6118 GB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.5718, allocations: 209.4 kB / 0.612 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.5718, allocations: 384 / 0.612 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.5719, allocations: 4.375 kB / 0.612 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.572, allocations: 63.97 kB / 0.6121 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.5721, allocations: 192 / 0.6121 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5721, allocations: 3.938 kB / 0.6121 GB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5721, allocations: 4 kB / 0.6121 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.601e-05/0.5722, allocations: 31.97 kB / 0.6121 GB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.5726, allocations: 284.9 kB / 0.6124 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.5728, allocations: 54.47 kB / 0.6125 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.5729, allocations: 16.86 kB / 0.6125 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.5729, allocations: 8.078 kB / 0.6125 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.573, allocations: 34.56 kB / 0.6125 GB, free: 8.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.573, allocations: 0 / 0.6125 GB, free: 8.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000591/0.5736, allocations: 165.3 kB / 0.6127 GB, free: 8.613 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.5736, allocations: 77.11 kB / 0.6127 GB, free: 8.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.5738, allocations: 148.5 kB / 0.6129 GB, free: 8.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.5739, allocations: 29.64 kB / 0.6129 GB, free: 8.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.5739, allocations: 92.14 kB / 0.613 GB, free: 8.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.574, allocations: 23.64 kB / 0.613 GB, free: 8.215 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.574, allocations: 0 / 0.613 GB, free: 8.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5742, allocations: 324 kB / 0.6133 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.5742, allocations: 27.98 kB / 0.6134 GB, free: 7.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.5743, allocations: 37.69 kB / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.5745, allocations: 64.86 kB / 0.6135 GB, free: 7.754 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5745, allocations: 0 / 0.6135 GB, free: 7.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002078/0.5747, allocations: 97.75 kB / 0.6136 GB, free: 7.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5747, allocations: 4 kB / 0.6136 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5747, allocations: 0 / 0.6136 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5748, allocations: 3.938 kB / 0.6136 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.5748, allocations: 16 kB / 0.6136 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.5748, allocations: 0 / 0.6136 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.5749, allocations: 11.98 kB / 0.6136 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.5749, allocations: 3.938 kB / 0.6136 GB, free: 7.613 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 0.0001025/0.575, allocations: 117.8 kB / 0.6137 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.5751, allocations: 7.906 kB / 0.6137 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.5753, allocations: 109.9 kB / 0.6138 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5754, allocations: 4 kB / 0.6138 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5754, allocations: 0 / 0.6138 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5754, allocations: 3.938 kB / 0.6138 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.5759, allocations: 370.5 kB / 0.6142 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5759, allocations: 3.938 kB / 0.6142 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.576, allocations: 15.98 kB / 0.6142 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.576, allocations: 0 / 0.6142 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.576, allocations: 0 / 0.6142 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.576, allocations: 0 / 0.6142 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.576, allocations: 3.938 kB / 0.6142 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.5763, allocations: 199.4 kB / 0.6144 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.5764, allocations: 85.02 kB / 0.6145 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.5764, allocations: 256 / 0.6145 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.5765, allocations: 11.98 kB / 0.6145 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.5765, allocations: 15.94 kB / 0.6145 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5765, allocations: 0 / 0.6145 GB, free: 6.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.5767, allocations: 118.5 kB / 0.6146 GB, free: 6.465 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5767, allocations: 0 / 0.6146 GB, free: 6.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.577, allocations: 55.84 kB / 0.6147 GB, free: 6.41 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.001158/0.5782, allocations: 486.6 kB / 0.6151 GB, free: 6.086 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.5784, allocations: 67.89 kB / 0.6152 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5784, allocations: 4 kB / 0.6152 GB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.5785, allocations: 31.92 kB / 0.6152 GB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.5788, allocations: 11.98 kB / 0.6152 GB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.5793, allocations: 188.2 kB / 0.6154 GB, free: 5.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.5796, allocations: 0.6887 MB / 0.6161 GB, free: 5.051 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.327e-05/0.5797, allocations: 15.97 kB / 0.6161 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.5797, allocations: 31.36 kB / 0.6161 GB, free: 5.004 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5797, allocations: 0 / 0.6161 GB, free: 5.004 MB / 426.7 MB Notification: Performance of Templates: time 0.004632/0.5844, allocations: 1.702 MB / 0.6178 GB, free: 3.312 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches