Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2638/0.2638, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4951/0.4964, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003905/0.5003, allocations: 1.599 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.5025, allocations: 1.163 MB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.5026, allocations: 5.312 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.5027, allocations: 23.97 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.503, allocations: 81.75 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.5033, allocations: 111.4 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.5034, allocations: 62.02 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/0.5035, allocations: 20.23 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.5035, allocations: 29.48 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.5037, allocations: 37.91 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.5037, allocations: 4.125 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.5039, allocations: 98.8 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.5039, allocations: 12.06 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.504, allocations: 23.98 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.5042, allocations: 144.2 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5042, allocations: 7.922 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5042, allocations: 4 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.5042, allocations: 0 / 0.5344 GB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004508/0.5047, allocations: 400.9 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.5047, allocations: 8.25 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.5048, allocations: 9.016 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.505, allocations: 193.8 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-06/0.505, allocations: 384 / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.505, allocations: 11.06 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5052, allocations: 67.89 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5052, allocations: 1.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.5052, allocations: 4 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5052, allocations: 1.375 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.5053, allocations: 21.67 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.5059, allocations: 283.7 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.5061, allocations: 56.42 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.5062, allocations: 16.36 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.5062, allocations: 1.031 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.5062, allocations: 31.62 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5062, allocations: 0 / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005246/0.5068, allocations: 154.1 kB / 0.5356 GB, free: 9.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.5069, allocations: 78.11 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.5071, allocations: 145.7 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.5071, allocations: 26.77 kB / 0.5358 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.5072, allocations: 91.39 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.5072, allocations: 25.75 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.5073, allocations: 18.91 kB / 0.5359 GB, free: 9.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5074, allocations: 325.1 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.5075, allocations: 19.95 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.5076, allocations: 39.61 kB / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.5078, allocations: 55.67 kB / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5078, allocations: 0 / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.508, allocations: 87.83 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.508, allocations: 5.469 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.508, allocations: 0 / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.508, allocations: 1.25 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.5081, allocations: 12.7 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5081, allocations: 1.094 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.5082, allocations: 7.5 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.5082, allocations: 13.05 kB / 0.5365 GB, free: 8.973 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.000102/0.5083, allocations: 118.4 kB / 0.5366 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.5083, allocations: 7.516 kB / 0.5366 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.5086, allocations: 100.5 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5086, allocations: 5.109 kB / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5086, allocations: 0 / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5086, allocations: 1.156 kB / 0.5367 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.5091, allocations: 363.1 kB / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5091, allocations: 0 / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.5092, allocations: 10.22 kB / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5092, allocations: 0 / 0.537 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.5092, allocations: 12.98 kB / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.5092, allocations: 5.25 kB / 0.5371 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5092, allocations: 4 kB / 0.5371 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.5095, allocations: 186.3 kB / 0.5372 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.5095, allocations: 83.72 kB / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.5096, allocations: 0 / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.5096, allocations: 11.75 kB / 0.5373 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.5097, allocations: 6.328 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5097, allocations: 1.281 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.784e-05/0.5098, allocations: 112.9 kB / 0.5374 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5098, allocations: 0 / 0.5374 GB, free: 8.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003093/0.5101, allocations: 40.33 kB / 0.5375 GB, free: 8.008 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.001179/0.5113, allocations: 497.9 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.5115, allocations: 50.81 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5115, allocations: 0 / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.117e-05/0.5116, allocations: 32.97 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.512, allocations: 25.06 kB / 0.5381 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.5125, allocations: 167.2 kB / 0.5382 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.5128, allocations: 0.6904 MB / 0.5389 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.5129, allocations: 18.45 kB / 0.5389 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.5129, allocations: 17.97 kB / 0.5389 GB, free: 6.836 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5129, allocations: 0 / 0.5389 GB, free: 6.836 MB / 398.1 MB Notification: Performance of Templates: time 0.004395/0.5173, allocations: 1.763 MB / 0.5407 GB, free: 5.914 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches