Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.266/0.266, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 72.09 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4738, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003421/0.4773, allocations: 1.617 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.4785, allocations: 0.5473 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.4785, allocations: 5.344 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.4789, allocations: 122.5 kB / 0.5333 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.4792, allocations: 131.6 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.4796, allocations: 113.2 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.4798, allocations: 93 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.4799, allocations: 29.59 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/0.48, allocations: 41.89 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.4802, allocations: 82.53 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.4802, allocations: 4.125 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.4803, allocations: 48.8 kB / 0.5338 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.4804, allocations: 26.86 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.4805, allocations: 38.55 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.4808, allocations: 128 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4808, allocations: 1.375 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4808, allocations: 3.938 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4808, allocations: 0 / 0.534 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.0007057/0.4815, allocations: 440.8 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4816, allocations: 13.56 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.4816, allocations: 15.72 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.4819, allocations: 213.5 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4819, allocations: 1.75 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.482, allocations: 15.11 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.4821, allocations: 59.53 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4822, allocations: 0 / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4822, allocations: 5.375 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4822, allocations: 0 / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.4823, allocations: 28.47 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.4828, allocations: 308.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.4829, allocations: 47.66 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.483, allocations: 16.59 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.483, allocations: 1 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.483, allocations: 35.72 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.4831, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001042/0.4841, allocations: 256.3 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.4842, allocations: 52.5 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.4845, allocations: 282.5 kB / 0.5357 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.4846, allocations: 30.8 kB / 0.5357 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.4847, allocations: 115.8 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.4847, allocations: 27.12 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.4848, allocations: 23.64 kB / 0.5359 GB, free: 9.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000509/0.4853, allocations: 324.3 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.4854, allocations: 28.36 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.4855, allocations: 33.06 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.4857, allocations: 81.22 kB / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4857, allocations: 1.094 kB / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002756/0.486, allocations: 113.5 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.486, allocations: 5.312 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.486, allocations: 1.094 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4861, allocations: 3.938 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4862, allocations: 22.48 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4862, allocations: 0 / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.4863, allocations: 11.44 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4863, allocations: 6.719 kB / 0.5365 GB, free: 9.199 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.0003073/0.4866, allocations: 137.6 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.4866, allocations: 14.94 kB / 0.5366 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.487, allocations: 132.1 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.487, allocations: 4.906 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.487, allocations: 1.281 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.487, allocations: 7.922 kB / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.4879, allocations: 436.5 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4879, allocations: 0 / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.488, allocations: 18.91 kB / 0.5372 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.488, allocations: 5.281 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.488, allocations: 1.344 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.488, allocations: 0 / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.488, allocations: 1.375 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.4884, allocations: 221.5 kB / 0.5374 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.4884, allocations: 96.75 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.4885, allocations: 1.188 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.4886, allocations: 3.938 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.4886, allocations: 11.92 kB / 0.5375 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.4886, allocations: 5.438 kB / 0.5375 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.4888, allocations: 209 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4888, allocations: 1.094 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.4891, allocations: 23 kB / 0.5377 GB, free: 8.109 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.001179/0.4903, allocations: 458.5 kB / 0.5382 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.4906, allocations: 72.23 kB / 0.5382 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4906, allocations: 0 / 0.5382 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.4907, allocations: 44 kB / 0.5383 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.4911, allocations: 29.17 kB / 0.5383 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.4918, allocations: 322.4 kB / 0.5386 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.4924, allocations: 0.7179 MB / 0.5393 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.065e-05/0.4925, allocations: 24.5 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.4926, allocations: 17.81 kB / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4926, allocations: 0 / 0.5394 GB, free: 6.84 MB / 398.1 MB Notification: Performance of Templates: time 0.004619/0.4972, allocations: 1.428 MB / 0.5408 GB, free: 6.113 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches