Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 196.9 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008337, allocations: 93.03 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4256/0.4256, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.459, allocations: 62.96 MB / 0.5184 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5924, allocations: 89.75 MB / 0.6061 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5928, allocations: 83.94 kB / 0.6061 GB, free: 15.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.6079, allocations: 5.782 MB / 0.6118 GB, free: 9.676 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6079, allocations: 0 / 0.6118 GB, free: 9.676 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.608, allocations: 4 kB / 0.6118 GB, free: 9.672 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005464/0.6085, allocations: 411.4 kB / 0.6122 GB, free: 9.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.6086, allocations: 16.81 kB / 0.6122 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.6086, allocations: 8.844 kB / 0.6122 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.6089, allocations: 200.1 kB / 0.6124 GB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.609, allocations: 8.375 kB / 0.6124 GB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.609, allocations: 4.375 kB / 0.6124 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.6092, allocations: 87.83 kB / 0.6125 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.6092, allocations: 192 / 0.6125 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.6093, allocations: 3.938 kB / 0.6125 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.6093, allocations: 0 / 0.6125 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.6094, allocations: 43.97 kB / 0.6125 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.6099, allocations: 308.9 kB / 0.6128 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.61, allocations: 58.5 kB / 0.6129 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.6101, allocations: 28.97 kB / 0.6129 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6101, allocations: 0 / 0.6129 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.6102, allocations: 39.78 kB / 0.613 GB, free: 8.309 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.6102, allocations: 0 / 0.613 GB, free: 8.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007061/0.6109, allocations: 213.1 kB / 0.6132 GB, free: 8.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.6109, allocations: 81.05 kB / 0.6132 GB, free: 7.996 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.6111, allocations: 152.3 kB / 0.6134 GB, free: 7.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.6112, allocations: 25.7 kB / 0.6134 GB, free: 7.809 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.6112, allocations: 96.12 kB / 0.6135 GB, free: 7.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.6113, allocations: 35.55 kB / 0.6135 GB, free: 7.676 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.6113, allocations: 0 / 0.6135 GB, free: 7.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6114, allocations: 322.8 kB / 0.6138 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.6115, allocations: 31.97 kB / 0.6139 GB, free: 7.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.6116, allocations: 57.69 kB / 0.6139 GB, free: 7.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.6118, allocations: 80.86 kB / 0.614 GB, free: 7.176 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6118, allocations: 0 / 0.614 GB, free: 7.176 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002385/0.6121, allocations: 117.5 kB / 0.6141 GB, free: 7.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6121, allocations: 4 kB / 0.6141 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6121, allocations: 4 kB / 0.6141 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6121, allocations: 0 / 0.6141 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.6122, allocations: 23.92 kB / 0.6141 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.6123, allocations: 0 / 0.6141 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.6123, allocations: 7.984 kB / 0.6142 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.6123, allocations: 7.938 kB / 0.6142 GB, free: 7.008 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 (8): * Single equations (assignments): 8 * 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.972e-05/0.6124, allocations: 121.8 kB / 0.6143 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.6125, allocations: 7.906 kB / 0.6143 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.6128, allocations: 130.3 kB / 0.6144 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6128, allocations: 0 / 0.6144 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6128, allocations: 4 kB / 0.6144 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6129, allocations: 4 kB / 0.6144 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.6135, allocations: 414.6 kB / 0.6148 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6135, allocations: 3.984 kB / 0.6148 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.6136, allocations: 27.98 kB / 0.6148 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6136, allocations: 3.938 kB / 0.6148 GB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.6136, allocations: 7.938 kB / 0.6149 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.6136, allocations: 4.016 kB / 0.6149 GB, free: 6.223 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6136, allocations: 3.984 kB / 0.6149 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.6139, allocations: 211.4 kB / 0.6151 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.614, allocations: 85.02 kB / 0.6151 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.614, allocations: 11.94 kB / 0.6152 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.6141, allocations: 11.92 kB / 0.6152 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.6141, allocations: 4.375 kB / 0.6152 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.6141, allocations: 3.984 kB / 0.6152 GB, free: 5.863 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.6143, allocations: 111.3 kB / 0.6153 GB, free: 5.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6143, allocations: 0 / 0.6153 GB, free: 5.754 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.6146, allocations: 67.91 kB / 0.6153 GB, free: 5.688 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 (8): * Single equations (assignments): 8 * 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.001215/0.6158, allocations: 499.8 kB / 0.6158 GB, free: 5.355 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.6161, allocations: 79.95 kB / 0.6159 GB, free: 5.277 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6161, allocations: 0 / 0.6159 GB, free: 5.277 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.6162, allocations: 47.92 kB / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.6165, allocations: 20.23 kB / 0.616 GB, free: 5.211 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.617, allocations: 217.4 kB / 0.6162 GB, free: 4.973 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.6174, allocations: 0.7043 MB / 0.6169 GB, free: 4.242 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.58e-05/0.6175, allocations: 20.64 kB / 0.6169 GB, free: 4.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.6175, allocations: 19.42 kB / 0.6169 GB, free: 4.199 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6175, allocations: 0 / 0.6169 GB, free: 4.199 MB / 426.7 MB Notification: Performance of Templates: time 0.004957/0.6225, allocations: 1.8 MB / 0.6187 GB, free: 2.414 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches