Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 197.2 kB / 18.11 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.669/1.669, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009348/0.0009348, allocations: 104.8 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3852/0.3852, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 8.219 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3643, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.4862, allocations: 89.68 MB / 0.606 GB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4865, allocations: 87.94 kB / 0.6061 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01409/0.5006, allocations: 5.477 MB / 0.6114 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5006, allocations: 0 / 0.6114 GB, free: 10.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.5006, allocations: 4 kB / 0.6114 GB, free: 10.05 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.0004453/0.5011, allocations: 403.5 kB / 0.6118 GB, free: 9.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5012, allocations: 12.03 kB / 0.6118 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.5012, allocations: 12.81 kB / 0.6118 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.5015, allocations: 206.1 kB / 0.612 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.5015, allocations: 4.375 kB / 0.612 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.5015, allocations: 384 / 0.612 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.5017, allocations: 63.97 kB / 0.6121 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5017, allocations: 4.188 kB / 0.6121 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5017, allocations: 3.938 kB / 0.6121 GB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5017, allocations: 0 / 0.6121 GB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.138e-05/0.5018, allocations: 35.91 kB / 0.6121 GB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.5022, allocations: 273 kB / 0.6124 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.5024, allocations: 58.48 kB / 0.6125 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.5025, allocations: 12.86 kB / 0.6125 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5025, allocations: 4.078 kB / 0.6125 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.5026, allocations: 46.5 kB / 0.6125 GB, free: 8.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5026, allocations: 0 / 0.6125 GB, free: 8.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005482/0.5031, allocations: 157.3 kB / 0.6127 GB, free: 8.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.5032, allocations: 89.05 kB / 0.6128 GB, free: 8.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.5033, allocations: 145.8 kB / 0.6129 GB, free: 8.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.5034, allocations: 29.7 kB / 0.6129 GB, free: 8.312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.5034, allocations: 92.05 kB / 0.613 GB, free: 8.219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.5034, allocations: 19.73 kB / 0.613 GB, free: 8.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.5035, allocations: 0 / 0.613 GB, free: 8.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5036, allocations: 324 kB / 0.6133 GB, free: 7.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.5037, allocations: 23.98 kB / 0.6134 GB, free: 7.852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.5038, allocations: 45.69 kB / 0.6134 GB, free: 7.801 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.5039, allocations: 52.83 kB / 0.6135 GB, free: 7.746 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5039, allocations: 4.031 kB / 0.6135 GB, free: 7.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.5041, allocations: 97.52 kB / 0.6135 GB, free: 7.641 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5041, allocations: 7.984 kB / 0.6136 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5041, allocations: 0 / 0.6136 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.5041, allocations: 0 / 0.6136 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.5042, allocations: 12 kB / 0.6136 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5042, allocations: 4 kB / 0.6136 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.5043, allocations: 7.984 kB / 0.6136 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5043, allocations: 11.94 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 8.878e-05/0.5044, allocations: 117.8 kB / 0.6137 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.5044, allocations: 7.906 kB / 0.6137 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.5047, allocations: 109.9 kB / 0.6138 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5047, allocations: 0 / 0.6138 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5047, allocations: 0 / 0.6138 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5047, allocations: 0 / 0.6138 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.5051, allocations: 370.5 kB / 0.6142 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5051, allocations: 4.312 kB / 0.6142 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.5052, allocations: 12 kB / 0.6142 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.5052, allocations: 7.984 kB / 0.6142 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.5052, allocations: 4.281 kB / 0.6142 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5052, allocations: 0 / 0.6142 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5052, allocations: 3.938 kB / 0.6142 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.5055, allocations: 195.4 kB / 0.6144 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.5055, allocations: 89 kB / 0.6145 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.5056, allocations: 4 kB / 0.6145 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.5056, allocations: 7.984 kB / 0.6145 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.5057, allocations: 3.938 kB / 0.6145 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5057, allocations: 8 kB / 0.6145 GB, free: 6.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.571e-05/0.5058, allocations: 114.1 kB / 0.6146 GB, free: 6.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5058, allocations: 0 / 0.6146 GB, free: 6.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.5061, allocations: 55.86 kB / 0.6147 GB, free: 6.402 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.00108/0.5071, allocations: 0.4908 MB / 0.6151 GB, free: 6.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.5074, allocations: 63.89 kB / 0.6152 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5074, allocations: 0 / 0.6152 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.5075, allocations: 31.92 kB / 0.6152 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.5077, allocations: 19.03 kB / 0.6152 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.5082, allocations: 188.2 kB / 0.6154 GB, free: 5.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5085, allocations: 0.6965 MB / 0.6161 GB, free: 5.031 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.711e-05/0.5086, allocations: 12.23 kB / 0.6161 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.5086, allocations: 19.42 kB / 0.6161 GB, free: 5 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5086, allocations: 0 / 0.6161 GB, free: 5 MB / 426.7 MB Notification: Performance of Templates: time 0.004183/0.5128, allocations: 1.7 MB / 0.6178 GB, free: 3.309 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches