Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008479/0.0008479, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.6 MB / 243.1 MB, free: 12.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007819/0.0007819, allocations: 94.84 kB / 295.1 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 44.83 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002286, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0809/0.08114, allocations: 62.95 MB / 0.5153 GB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00135/0.08253, allocations: 1.303 MB / 0.5166 GB, free: 3.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005692/0.08311, allocations: 0.4914 MB / 0.5171 GB, free: 3.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.08316, allocations: 0 / 0.5171 GB, free: 3.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.08338, allocations: 87.8 kB / 0.5172 GB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.08355, allocations: 95.77 kB / 0.5172 GB, free: 3.117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.08374, allocations: 83.72 kB / 0.5173 GB, free: 3.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.08384, allocations: 71.75 kB / 0.5174 GB, free: 2.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.086e-05/0.08392, allocations: 7.984 kB / 0.5174 GB, free: 2.961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.08396, allocations: 35.89 kB / 0.5174 GB, free: 2.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.08404, allocations: 47.83 kB / 0.5175 GB, free: 2.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.08405, allocations: 0 / 0.5175 GB, free: 2.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.08413, allocations: 35.98 kB / 0.5175 GB, free: 2.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.08416, allocations: 23.92 kB / 0.5175 GB, free: 2.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.08419, allocations: 37.64 kB / 0.5176 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.924e-05/0.08429, allocations: 87.8 kB / 0.5177 GB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.0843, allocations: 3.938 kB / 0.5177 GB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08431, allocations: 0 / 0.5177 GB, free: 2.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.08432, allocations: 0 / 0.5177 GB, free: 2.688 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003146/0.08463, allocations: 403.1 kB / 0.518 GB, free: 2.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.631e-05/0.08467, allocations: 8.031 kB / 0.5181 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.0847, allocations: 11.91 kB / 0.5181 GB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.08483, allocations: 207.2 kB / 0.5183 GB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.08484, allocations: 4 kB / 0.5183 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.08487, allocations: 11.98 kB / 0.5183 GB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.08498, allocations: 57.64 kB / 0.5183 GB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.085, allocations: 3.938 kB / 0.5183 GB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.08501, allocations: 0 / 0.5183 GB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.08502, allocations: 4 kB / 0.5183 GB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.08511, allocations: 27.98 kB / 0.5184 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.08535, allocations: 296.8 kB / 0.5187 GB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/0.08544, allocations: 50.5 kB / 0.5187 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.08549, allocations: 12.86 kB / 0.5187 GB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.08552, allocations: 4 kB / 0.5187 GB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.08554, allocations: 34.56 kB / 0.5187 GB, free: 1.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.08554, allocations: 4 kB / 0.5188 GB, free: 1.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007494/0.0863, allocations: 241.1 kB / 0.519 GB, free: 1.164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.08633, allocations: 59.36 kB / 0.519 GB, free: 1.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.08647, allocations: 234.7 kB / 0.5193 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.08649, allocations: 25.7 kB / 0.5193 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.08653, allocations: 116 kB / 0.5194 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.08655, allocations: 19.7 kB / 0.5194 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.08656, allocations: 0 / 0.5194 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.0866, allocations: 330.8 kB / 0.5197 GB, free: 360 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.08668, allocations: 27.98 kB / 0.5198 GB, free: 332 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.08674, allocations: 23.98 kB / 0.5198 GB, free: 308 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.702e-05/0.08681, allocations: 35.92 kB / 0.5198 GB, free: 272 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.08682, allocations: 0 / 0.5198 GB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001665/0.08699, allocations: 113.5 kB / 0.5199 GB, free: 152 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.08701, allocations: 11.94 kB / 0.5199 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.08702, allocations: 0 / 0.5199 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.08703, allocations: 0 / 0.5199 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.08712, allocations: 19.98 kB / 0.52 GB, free: 120 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.08713, allocations: 3.953 kB / 0.52 GB, free: 116 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.777e-05/0.08717, allocations: 7.938 kB / 0.52 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.08719, allocations: 12 kB / 0.52 GB, free: 96 kB / 346.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 8.424e-05/0.08728, allocations: 129.8 kB / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.08731, allocations: 7.906 kB / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.08756, allocations: 135.1 kB / 0.5202 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.08757, allocations: 8 kB / 0.5202 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.08758, allocations: 0 / 0.5202 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.08759, allocations: 3.953 kB / 0.5202 GB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.08805, allocations: 415.4 kB / 0.5206 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.08806, allocations: 4.031 kB / 0.5206 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.641e-05/0.08813, allocations: 19.98 kB / 0.5207 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.08814, allocations: 432 / 0.5207 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.08816, allocations: 11.89 kB / 0.5207 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.08817, allocations: 4 kB / 0.5207 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.08818, allocations: 0 / 0.5207 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.0884, allocations: 212.2 kB / 0.5209 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.08846, allocations: 93 kB / 0.521 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.08848, allocations: 3.984 kB / 0.521 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.08855, allocations: 7.953 kB / 0.521 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.08859, allocations: 7.984 kB / 0.521 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.0886, allocations: 8 kB / 0.521 GB, free: 14.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.08875, allocations: 180.3 kB / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08876, allocations: 0 / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.08897, allocations: 24 kB / 0.5212 GB, free: 14.74 MB / 362.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 (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.0008947/0.08987, allocations: 451.2 kB / 0.5216 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.09008, allocations: 71.95 kB / 0.5217 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09009, allocations: 0 / 0.5217 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.09018, allocations: 43.98 kB / 0.5217 GB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.09046, allocations: 16.17 kB / 0.5218 GB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.0909, allocations: 319.8 kB / 0.5221 GB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.09116, allocations: 0.7082 MB / 0.5227 GB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.09119, allocations: 11.44 kB / 0.5228 GB, free: 13.23 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.0912, allocations: 4 kB / 0.5228 GB, free: 13.22 MB / 362.7 MB Notification: Performance of Templates: time 0.002859/0.09406, allocations: 1.783 MB / 0.5245 GB, free: 11.44 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches