Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,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_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 112.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 200 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1999/0.1999, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 76.09 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2997, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003111/0.3028, allocations: 1.617 MB / 0.5333 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3039, allocations: 0.5324 MB / 0.5338 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-05/0.304, allocations: 5.375 kB / 0.5338 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.3042, allocations: 76.77 kB / 0.5339 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.3046, allocations: 102.1 kB / 0.534 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.3049, allocations: 99.69 kB / 0.5341 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3051, allocations: 75.62 kB / 0.5341 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3052, allocations: 24.17 kB / 0.5341 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.3053, allocations: 32.31 kB / 0.5342 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3054, allocations: 59 kB / 0.5342 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3055, allocations: 3.406 kB / 0.5342 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3056, allocations: 45.11 kB / 0.5343 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.3057, allocations: 24.61 kB / 0.5343 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3057, allocations: 33.05 kB / 0.5343 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.3059, allocations: 105.9 kB / 0.5344 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3059, allocations: 4 kB / 0.5344 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3059, allocations: 0 / 0.5344 GB, free: 11.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.3059, allocations: 4 kB / 0.5344 GB, free: 11.74 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.0004959/0.3064, allocations: 413.6 kB / 0.5348 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3065, allocations: 9.719 kB / 0.5349 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.3065, allocations: 9.938 kB / 0.5349 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3067, allocations: 204.2 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3068, allocations: 5.625 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3068, allocations: 3.562 kB / 0.5351 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.3069, allocations: 57.98 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.307, allocations: 12.89 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.307, allocations: 0 / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.307, allocations: 1.125 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3071, allocations: 26.52 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.3075, allocations: 287.4 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3076, allocations: 47.02 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.3077, allocations: 24.95 kB / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3077, allocations: 0 / 0.5355 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3077, allocations: 35.53 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3077, allocations: 1.125 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009127/0.3086, allocations: 233.3 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.3087, allocations: 52.5 kB / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.3089, allocations: 211 kB / 0.536 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3089, allocations: 25.7 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.309, allocations: 107 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.309, allocations: 30.3 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.309, allocations: 19.22 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3092, allocations: 327 kB / 0.5365 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.3092, allocations: 21.73 kB / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.3093, allocations: 26.48 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3095, allocations: 59.42 kB / 0.5366 GB, free: 9.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3095, allocations: 1.281 kB / 0.5366 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002155/0.3097, allocations: 111.6 kB / 0.5367 GB, free: 9.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3097, allocations: 5.312 kB / 0.5367 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3097, allocations: 0 / 0.5367 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3098, allocations: 1.344 kB / 0.5367 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.3099, allocations: 18.05 kB / 0.5367 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3099, allocations: 320 / 0.5367 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.3099, allocations: 11.03 kB / 0.5367 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3099, allocations: 2 kB / 0.5367 GB, free: 9.617 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 (8): * Single equations (assignments): 8 * 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 9.484e-05/0.31, allocations: 128.6 kB / 0.5369 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.3101, allocations: 21.06 kB / 0.5369 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.3104, allocations: 119.5 kB / 0.537 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3104, allocations: 1.094 kB / 0.537 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3104, allocations: 1.312 kB / 0.537 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3104, allocations: 3.938 kB / 0.537 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.3109, allocations: 406.5 kB / 0.5374 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3109, allocations: 5 kB / 0.5374 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.311, allocations: 17.89 kB / 0.5374 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.311, allocations: 4.969 kB / 0.5374 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.311, allocations: 1.062 kB / 0.5374 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.311, allocations: 9.078 kB / 0.5374 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.311, allocations: 1.094 kB / 0.5374 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.3113, allocations: 200.8 kB / 0.5376 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.3113, allocations: 91.28 kB / 0.5377 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3114, allocations: 5.375 kB / 0.5377 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.3114, allocations: 3.312 kB / 0.5377 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.3115, allocations: 11.53 kB / 0.5377 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.3115, allocations: 2.656 kB / 0.5377 GB, free: 8.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3116, allocations: 171.7 kB / 0.5379 GB, free: 8.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3116, allocations: 4 kB / 0.5379 GB, free: 8.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3119, allocations: 22.12 kB / 0.5379 GB, free: 8.559 MB / 398.1 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 (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.001023/0.3129, allocations: 451.4 kB / 0.5383 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.3132, allocations: 66.33 kB / 0.5384 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3132, allocations: 0 / 0.5384 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.3133, allocations: 37.11 kB / 0.5384 GB, free: 8.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3136, allocations: 24.55 kB / 0.5385 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.3141, allocations: 292.2 kB / 0.5387 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.3144, allocations: 0.7038 MB / 0.5394 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.3145, allocations: 17.2 kB / 0.5395 GB, free: 7.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3145, allocations: 1.094 kB / 0.5395 GB, free: 7.32 MB / 398.1 MB Notification: Performance of Templates: time 0.003773/0.3182, allocations: 1.772 MB / 0.5412 GB, free: 6.402 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches