Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008951/0.0008951, allocations: 199.6 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.255/1.255, allocations: 226.6 MB / 243.1 MB, free: 12.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000701/0.0007011, allocations: 98.84 kB / 295.1 MB, free: 4.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 44.84 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08308/0.08339, allocations: 62.95 MB / 0.5153 GB, free: 5.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00135/0.08478, allocations: 1.288 MB / 0.5166 GB, free: 3.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006058/0.0854, allocations: 491.3 kB / 0.517 GB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.08545, allocations: 0 / 0.517 GB, free: 3.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.08561, allocations: 15.92 kB / 0.5171 GB, free: 3.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.08578, allocations: 63.75 kB / 0.5171 GB, free: 3.254 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.08597, allocations: 71.86 kB / 0.5172 GB, free: 3.184 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.08607, allocations: 59.77 kB / 0.5173 GB, free: 3.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.517e-05/0.08615, allocations: 23.97 kB / 0.5173 GB, free: 3.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.0862, allocations: 15.92 kB / 0.5173 GB, free: 3.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.08625, allocations: 15.88 kB / 0.5173 GB, free: 3.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.08626, allocations: 7.938 kB / 0.5173 GB, free: 3.062 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.463e-05/0.08632, allocations: 27.98 kB / 0.5173 GB, free: 3.035 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.08636, allocations: 11.92 kB / 0.5173 GB, free: 3.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.08638, allocations: 37.64 kB / 0.5174 GB, free: 2.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.08648, allocations: 55.91 kB / 0.5174 GB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.08648, allocations: 0 / 0.5174 GB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08649, allocations: 0 / 0.5174 GB, free: 2.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.0865, allocations: 0 / 0.5174 GB, free: 2.926 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003037/0.08681, allocations: 375.4 kB / 0.5178 GB, free: 2.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.08684, allocations: 8.031 kB / 0.5178 GB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.08688, allocations: 7.906 kB / 0.5178 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.087, allocations: 190.8 kB / 0.518 GB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.08702, allocations: 0 / 0.518 GB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.08704, allocations: 11.92 kB / 0.518 GB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.08715, allocations: 49.69 kB / 0.5181 GB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.08717, allocations: 7.938 kB / 0.5181 GB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.08718, allocations: 0 / 0.5181 GB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.08719, allocations: 0 / 0.5181 GB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.08727, allocations: 23.98 kB / 0.5181 GB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.08751, allocations: 276.9 kB / 0.5183 GB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.08767, allocations: 50.5 kB / 0.5184 GB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.08773, allocations: 20.94 kB / 0.5184 GB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.08775, allocations: 0 / 0.5184 GB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.08777, allocations: 30.56 kB / 0.5184 GB, free: 1.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.08777, allocations: 0 / 0.5184 GB, free: 1.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004565/0.08823, allocations: 161.2 kB / 0.5186 GB, free: 1.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.08826, allocations: 51.41 kB / 0.5186 GB, free: 1.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.08837, allocations: 158.1 kB / 0.5188 GB, free: 1.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.08838, allocations: 25.7 kB / 0.5188 GB, free: 1.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.08841, allocations: 96.05 kB / 0.5189 GB, free: 1.207 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.08843, allocations: 19.8 kB / 0.5189 GB, free: 1.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.08844, allocations: 0 / 0.5189 GB, free: 1.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.08848, allocations: 314.8 kB / 0.5192 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.08855, allocations: 23.98 kB / 0.5193 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.08861, allocations: 19.98 kB / 0.5193 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.08868, allocations: 27.98 kB / 0.5193 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.08868, allocations: 0 / 0.5193 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001604/0.08885, allocations: 93.52 kB / 0.5194 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.08887, allocations: 4 kB / 0.5194 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.08888, allocations: 3.984 kB / 0.5194 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.08889, allocations: 0 / 0.5194 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.08895, allocations: 12 kB / 0.5194 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.08896, allocations: 7.891 kB / 0.5194 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.08901, allocations: 7.984 kB / 0.5194 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.08902, allocations: 4 kB / 0.5194 GB, free: 0.6641 MB / 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 (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 4.831e-05/0.08907, allocations: 117.8 kB / 0.5195 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.0891, allocations: 7.906 kB / 0.5195 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.0893, allocations: 98.22 kB / 0.5196 GB, free: 444 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.08931, allocations: 11.94 kB / 0.5197 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.08932, allocations: 4 kB / 0.5197 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.08933, allocations: 7.938 kB / 0.5197 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.08962, allocations: 346.6 kB / 0.52 GB, free: 16 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.08963, allocations: 0 / 0.52 GB, free: 16 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.08968, allocations: 15.98 kB / 0.52 GB, free: 0 / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.08971, allocations: 4.047 kB / 0.52 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.08973, allocations: 0 / 0.52 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.08973, allocations: 7.891 kB / 0.52 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.08974, allocations: 0 / 0.52 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.08995, allocations: 183.4 kB / 0.5202 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.09, allocations: 85 kB / 0.5203 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.09002, allocations: 4 kB / 0.5203 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.09009, allocations: 8 kB / 0.5203 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.09013, allocations: 12.22 kB / 0.5203 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.09013, allocations: 0 / 0.5203 GB, free: 15.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.09022, allocations: 118 kB / 0.5204 GB, free: 15.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09023, allocations: 4 kB / 0.5204 GB, free: 15.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.09044, allocations: 8 kB / 0.5204 GB, free: 15.54 MB / 362.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.0007481/0.0912, allocations: 413.8 kB / 0.5208 GB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.09139, allocations: 55.91 kB / 0.5209 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0914, allocations: 0 / 0.5209 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.09148, allocations: 27.98 kB / 0.5209 GB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.09176, allocations: 17.41 kB / 0.5209 GB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.09211, allocations: 207.1 kB / 0.5211 GB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.09236, allocations: 0.7043 MB / 0.5218 GB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.09239, allocations: 15.38 kB / 0.5218 GB, free: 14.19 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.0924, allocations: 0 / 0.5218 GB, free: 14.19 MB / 362.7 MB Notification: Performance of Templates: time 0.00255/0.09495, allocations: 1.405 MB / 0.5232 GB, free: 12.78 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches