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.001635/0.001635, 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.001907/0.001907, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4081, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003677/0.4118, allocations: 1.652 MB / 0.5326 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.413, allocations: 0.5782 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.1e-05/0.4131, allocations: 0 / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.4136, allocations: 457.6 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.4141, allocations: 291.6 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.4146, allocations: 175.5 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.4149, allocations: 182.5 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.4151, allocations: 12.56 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.4152, allocations: 111.5 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.4156, allocations: 223.3 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.4156, allocations: 2.406 kB / 0.5346 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.4158, allocations: 37.55 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.416, allocations: 87.39 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.4161, allocations: 103.8 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.4165, allocations: 261.8 kB / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4166, allocations: 1.938 kB / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4166, allocations: 0 / 0.535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.4166, allocations: 0 / 0.535 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.0008847/0.4175, allocations: 0.6395 MB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4175, allocations: 9.344 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.4176, allocations: 42.59 kB / 0.5357 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.4179, allocations: 307.9 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4179, allocations: 1.594 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.418, allocations: 2.969 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.4181, allocations: 55.81 kB / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4181, allocations: 0 / 0.5361 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.4182, allocations: 5.453 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4182, allocations: 3.984 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.4183, allocations: 33.52 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.4188, allocations: 391.6 kB / 0.5365 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.4191, allocations: 41.31 kB / 0.5365 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.4191, allocations: 20.44 kB / 0.5365 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.4192, allocations: 5.125 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4192, allocations: 31.56 kB / 0.5366 GB, free: 9.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4192, allocations: 3.938 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006871/0.4199, allocations: 232.4 kB / 0.5368 GB, free: 9.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.4199, allocations: 52.59 kB / 0.5369 GB, free: 9.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009258/0.4209, allocations: 0.8746 MB / 0.5377 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.4209, allocations: 29.7 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.4211, allocations: 225.6 kB / 0.538 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.4211, allocations: 19 kB / 0.538 GB, free: 8.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.4211, allocations: 18.28 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4213, allocations: 363.1 kB / 0.5383 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.4214, allocations: 21.08 kB / 0.5384 GB, free: 8.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.4214, allocations: 24.61 kB / 0.5384 GB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4216, allocations: 60.22 kB / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4216, allocations: 0 / 0.5384 GB, free: 8.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002227/0.4218, allocations: 118.7 kB / 0.5386 GB, free: 8.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4219, allocations: 4.625 kB / 0.5386 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4219, allocations: 0 / 0.5386 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4219, allocations: 5.062 kB / 0.5386 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.422, allocations: 17.36 kB / 0.5386 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.422, allocations: 9.438 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.4221, allocations: 14.14 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.4221, allocations: 2.281 kB / 0.5386 GB, free: 8.039 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.0001865/0.4223, allocations: 206.3 kB / 0.5388 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.157e-05/0.4223, allocations: 42.06 kB / 0.5388 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.4226, allocations: 142.9 kB / 0.539 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4227, allocations: 5 kB / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4227, allocations: 3.984 kB / 0.539 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4227, allocations: 9 kB / 0.539 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.4232, allocations: 460.3 kB / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4233, allocations: 0 / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.4233, allocations: 9.844 kB / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4233, allocations: 0 / 0.5394 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4234, allocations: 9.031 kB / 0.5394 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4234, allocations: 5.094 kB / 0.5395 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4234, allocations: 3.984 kB / 0.5395 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.4236, allocations: 221.9 kB / 0.5397 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.4237, allocations: 114.2 kB / 0.5398 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.4238, allocations: 5 kB / 0.5398 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.4239, allocations: 6.625 kB / 0.5398 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.4239, allocations: 10.39 kB / 0.5398 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.4239, allocations: 1.125 kB / 0.5398 GB, free: 7.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006532/0.4246, allocations: 0.6546 MB / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4246, allocations: 0 / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.4248, allocations: 22.88 kB / 0.5405 GB, free: 6.711 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.0009586/0.4258, allocations: 392.8 kB / 0.5408 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.426, allocations: 67.33 kB / 0.5409 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4261, allocations: 0 / 0.5409 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.4261, allocations: 25.89 kB / 0.5409 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.4265, allocations: 35.27 kB / 0.541 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4277, allocations: 0.7888 MB / 0.5417 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.4281, allocations: 0.8269 MB / 0.5425 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.4282, allocations: 20.69 kB / 0.5426 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.4282, allocations: 17 kB / 0.5426 GB, free: 5.242 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4282, allocations: 0 / 0.5426 GB, free: 5.242 MB / 398.1 MB Notification: Performance of Templates: time 0.004784/0.433, allocations: 1.511 MB / 0.544 GB, free: 4.125 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches