Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001489, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.299, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003044/0.302, allocations: 1.655 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.3031, allocations: 0.5819 MB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.3031, allocations: 5.375 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.3037, allocations: 449 kB / 0.5343 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.3042, allocations: 295.7 kB / 0.5346 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.3046, allocations: 172.7 kB / 0.5347 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.3049, allocations: 168.9 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.305, allocations: 26.11 kB / 0.5349 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.3052, allocations: 115.3 kB / 0.535 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.3055, allocations: 211 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3056, allocations: 2.656 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.3057, allocations: 37.28 kB / 0.5353 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.3058, allocations: 80.17 kB / 0.5353 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.3059, allocations: 110.1 kB / 0.5355 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.3062, allocations: 263.8 kB / 0.5357 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3062, allocations: 0 / 0.5357 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3062, allocations: 0 / 0.5357 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3062, allocations: 1.062 kB / 0.5357 GB, free: 10.89 MB / 398.1 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.0007269/0.307, allocations: 0.6395 MB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.307, allocations: 9.469 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.3071, allocations: 42.41 kB / 0.5364 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3074, allocations: 299.3 kB / 0.5367 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3074, allocations: 6.5 kB / 0.5367 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3074, allocations: 10.59 kB / 0.5367 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3076, allocations: 59.95 kB / 0.5367 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3076, allocations: 0 / 0.5367 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.3076, allocations: 0 / 0.5367 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3076, allocations: 1.156 kB / 0.5367 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3077, allocations: 36.86 kB / 0.5368 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.3082, allocations: 392.8 kB / 0.5372 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3085, allocations: 49.06 kB / 0.5372 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.3085, allocations: 16.69 kB / 0.5372 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3085, allocations: 0 / 0.5372 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.3086, allocations: 31.47 kB / 0.5372 GB, free: 9.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.3086, allocations: 1.125 kB / 0.5372 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006421/0.3092, allocations: 243.7 kB / 0.5375 GB, free: 9.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.3093, allocations: 52.59 kB / 0.5375 GB, free: 9.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.3101, allocations: 0.8711 MB / 0.5384 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.3102, allocations: 25.7 kB / 0.5384 GB, free: 8.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3103, allocations: 226.8 kB / 0.5386 GB, free: 8.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3104, allocations: 13.14 kB / 0.5386 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.3104, allocations: 18.56 kB / 0.5386 GB, free: 8.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3106, allocations: 371.5 kB / 0.539 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.3106, allocations: 19.95 kB / 0.539 GB, free: 8.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.3107, allocations: 24.86 kB / 0.539 GB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.3109, allocations: 52.2 kB / 0.5391 GB, free: 8.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3109, allocations: 0 / 0.5391 GB, free: 8.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002497/0.3111, allocations: 127.2 kB / 0.5392 GB, free: 8.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3112, allocations: 4.438 kB / 0.5392 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3112, allocations: 1.281 kB / 0.5392 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3112, allocations: 0 / 0.5392 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.3113, allocations: 13.8 kB / 0.5392 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.3113, allocations: 5.375 kB / 0.5392 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.3113, allocations: 10.97 kB / 0.5393 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3113, allocations: 1.344 kB / 0.5393 GB, free: 8.055 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.3115, allocations: 223.2 kB / 0.5395 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.3116, allocations: 42 kB / 0.5395 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.3119, allocations: 142.7 kB / 0.5396 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.3119, allocations: 0 / 0.5396 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3119, allocations: 1.375 kB / 0.5396 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3119, allocations: 3.938 kB / 0.5396 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.3125, allocations: 471.8 kB / 0.5401 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3125, allocations: 1.125 kB / 0.5401 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/0.3126, allocations: 13.14 kB / 0.5401 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3126, allocations: 5.031 kB / 0.5401 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3126, allocations: 3.938 kB / 0.5401 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3126, allocations: 1.188 kB / 0.5401 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3127, allocations: 0 / 0.5401 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3129, allocations: 226 kB / 0.5403 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.313, allocations: 114.7 kB / 0.5404 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.313, allocations: 3.938 kB / 0.5404 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.711e-05/0.3131, allocations: 6.922 kB / 0.5405 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3132, allocations: 2.906 kB / 0.5405 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3132, allocations: 1.469 kB / 0.5405 GB, free: 7.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006613/0.3139, allocations: 0.6573 MB / 0.5411 GB, free: 6.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3139, allocations: 1.094 kB / 0.5411 GB, free: 6.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3141, allocations: 22.62 kB / 0.5411 GB, free: 6.715 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009617/0.3151, allocations: 413.5 kB / 0.5415 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.3154, allocations: 51.92 kB / 0.5416 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3154, allocations: 0 / 0.5416 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.3155, allocations: 33.52 kB / 0.5416 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3159, allocations: 28.06 kB / 0.5416 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3171, allocations: 0.8252 MB / 0.5424 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.3176, allocations: 0.8283 MB / 0.5432 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.3176, allocations: 17.72 kB / 0.5433 GB, free: 5.207 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3176, allocations: 0 / 0.5433 GB, free: 5.207 MB / 398.1 MB Notification: Performance of Templates: time 0.007548/0.3252, allocations: 3.793 MB / 0.547 GB, free: 1.828 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches