Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 109 kB / 18.45 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.001752/0.001752, allocations: 210.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.454/1.454, 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.2552/0.2552, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3984, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002995/0.4014, allocations: 1.621 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.4024, allocations: 0.5377 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.4025, allocations: 1.375 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.4029, allocations: 130.7 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.4032, allocations: 122.4 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.4035, allocations: 90.25 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.4036, allocations: 105.1 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4037, allocations: 16.25 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.4038, allocations: 49.88 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.404, allocations: 82.53 kB / 0.5344 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.404, allocations: 2.75 kB / 0.5344 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.4041, allocations: 46.17 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.4042, allocations: 30.84 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.4042, allocations: 42.5 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.4044, allocations: 118.2 kB / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4044, allocations: 1.375 kB / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4044, allocations: 0 / 0.5346 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.4044, allocations: 4 kB / 0.5346 GB, free: 11.45 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.0005247/0.405, allocations: 435.1 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.405, allocations: 9 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.4051, allocations: 15.03 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.4053, allocations: 215.1 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4053, allocations: 1.188 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.4053, allocations: 6.562 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4055, allocations: 54.36 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4055, allocations: 5.031 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4055, allocations: 4 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4055, allocations: 1.281 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.4056, allocations: 27 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.406, allocations: 307.4 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.4061, allocations: 38.75 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.4062, allocations: 24 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4063, allocations: 5.391 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.4064, allocations: 31.91 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.4064, allocations: 0 / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008752/0.4073, allocations: 239 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.4073, allocations: 53.66 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.4076, allocations: 278.2 kB / 0.5363 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4076, allocations: 26.7 kB / 0.5363 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.4077, allocations: 115.1 kB / 0.5364 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.4078, allocations: 31.02 kB / 0.5364 GB, free: 9.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.4078, allocations: 19.94 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4079, allocations: 328.1 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.408, allocations: 25.98 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.4081, allocations: 25.31 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4082, allocations: 69.48 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4082, allocations: 0 / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002025/0.4084, allocations: 105 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4085, allocations: 5.031 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4085, allocations: 3.938 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4085, allocations: 1.5 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4086, allocations: 17.14 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4086, allocations: 1.281 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.4087, allocations: 14.33 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.4087, allocations: 3.031 kB / 0.537 GB, free: 9.25 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 0.0001029/0.4088, allocations: 141.3 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.4088, allocations: 10.5 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.4091, allocations: 129.8 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4091, allocations: 1.344 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4091, allocations: 0 / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4091, allocations: 5.188 kB / 0.5373 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.4096, allocations: 415 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4097, allocations: 1.062 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.4097, allocations: 18.48 kB / 0.5377 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.4097, allocations: 3.938 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.4098, allocations: 2.25 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4098, allocations: 1.062 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4098, allocations: 0 / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.41, allocations: 217.4 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.4101, allocations: 93.17 kB / 0.538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4102, allocations: 1.125 kB / 0.538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.4102, allocations: 3.344 kB / 0.538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.4103, allocations: 7.703 kB / 0.538 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4103, allocations: 6.625 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.4105, allocations: 208 kB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4105, allocations: 5.188 kB / 0.5382 GB, free: 8.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.4107, allocations: 22.91 kB / 0.5382 GB, free: 8.18 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.00103/0.4118, allocations: 453.4 kB / 0.5387 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.412, allocations: 74.03 kB / 0.5388 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.412, allocations: 0 / 0.5388 GB, free: 7.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.4121, allocations: 38.48 kB / 0.5388 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.4125, allocations: 23.12 kB / 0.5388 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.4131, allocations: 337.5 kB / 0.5391 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.4134, allocations: 0.7166 MB / 0.5398 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.4134, allocations: 18.36 kB / 0.5399 GB, free: 6.91 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4134, allocations: 0 / 0.5399 GB, free: 6.91 MB / 398.1 MB Notification: Performance of Templates: time 0.003859/0.4173, allocations: 1.9 MB / 0.5417 GB, free: 5.918 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches