Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 113 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001604, allocations: 202.8 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.58/1.58, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 71.89 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4003, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003841/0.4042, allocations: 1.651 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.4054, allocations: 0.5516 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.4056, allocations: 0 / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006872/0.4063, allocations: 457.2 kB / 0.5343 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006252/0.4069, allocations: 288.6 kB / 0.5345 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.4075, allocations: 137.5 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.408, allocations: 170.8 kB / 0.5348 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4081, allocations: 19.66 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.4085, allocations: 109.5 kB / 0.535 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.4089, allocations: 214.4 kB / 0.5352 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.4089, allocations: 4.031 kB / 0.5352 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.4091, allocations: 33.41 kB / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.4093, allocations: 81.91 kB / 0.5353 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.4094, allocations: 102.8 kB / 0.5354 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.4098, allocations: 256.9 kB / 0.5356 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4098, allocations: 4 kB / 0.5356 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4098, allocations: 0.5312 kB / 0.5356 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.4098, allocations: 0 / 0.5356 GB, free: 10.96 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.0009432/0.4108, allocations: 0.6469 MB / 0.5363 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4108, allocations: 10.12 kB / 0.5363 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.4109, allocations: 39.03 kB / 0.5363 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.4113, allocations: 293.8 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.4113, allocations: 1.562 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.4113, allocations: 2.812 kB / 0.5366 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.4115, allocations: 58.12 kB / 0.5366 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4115, allocations: 0 / 0.5366 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4115, allocations: 1.031 kB / 0.5366 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4115, allocations: 1.219 kB / 0.5366 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.4116, allocations: 37.98 kB / 0.5367 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.4123, allocations: 386.3 kB / 0.537 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.4125, allocations: 44 kB / 0.5371 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.4126, allocations: 19.16 kB / 0.5371 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4126, allocations: 5.062 kB / 0.5371 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.4127, allocations: 31.66 kB / 0.5371 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.4127, allocations: 0 / 0.5371 GB, free: 9.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007293/0.4134, allocations: 223.4 kB / 0.5374 GB, free: 9.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4135, allocations: 52.69 kB / 0.5374 GB, free: 9.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.4146, allocations: 0.8681 MB / 0.5383 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4146, allocations: 25.7 kB / 0.5383 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.4148, allocations: 234.2 kB / 0.5385 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.4148, allocations: 13.78 kB / 0.5385 GB, free: 8.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.4149, allocations: 13.69 kB / 0.5385 GB, free: 8.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4151, allocations: 372.4 kB / 0.5389 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.4151, allocations: 17.83 kB / 0.5389 GB, free: 8.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.4152, allocations: 19.64 kB / 0.5389 GB, free: 8.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4154, allocations: 44.55 kB / 0.539 GB, free: 8.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4154, allocations: 0 / 0.539 GB, free: 8.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002627/0.4156, allocations: 119.4 kB / 0.5391 GB, free: 8.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4157, allocations: 9.312 kB / 0.5391 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4157, allocations: 1 kB / 0.5391 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4157, allocations: 0 / 0.5391 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.4158, allocations: 14.7 kB / 0.5391 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4158, allocations: 0 / 0.5391 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.4159, allocations: 11.31 kB / 0.5391 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4159, allocations: 1.188 kB / 0.5391 GB, free: 8.148 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.0002216/0.4161, allocations: 214.4 kB / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.4162, allocations: 38.56 kB / 0.5394 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.4165, allocations: 138.8 kB / 0.5395 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4165, allocations: 1.281 kB / 0.5395 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.4165, allocations: 0 / 0.5395 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4166, allocations: 3.938 kB / 0.5395 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.4172, allocations: 458.5 kB / 0.5399 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4172, allocations: 1.438 kB / 0.5399 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.4172, allocations: 20.52 kB / 0.5399 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4172, allocations: 1.25 kB / 0.5399 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4173, allocations: 9.438 kB / 0.54 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4173, allocations: 0 / 0.54 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4173, allocations: 0 / 0.54 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.4176, allocations: 207.5 kB / 0.5402 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4177, allocations: 113 kB / 0.5403 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.4177, allocations: 8.906 kB / 0.5403 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.4178, allocations: 7.266 kB / 0.5403 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.4179, allocations: 10.11 kB / 0.5403 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.4179, allocations: 2.156 kB / 0.5403 GB, free: 7.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008912/0.4188, allocations: 0.6522 MB / 0.5409 GB, free: 6.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4188, allocations: 1.094 kB / 0.5409 GB, free: 6.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.4191, allocations: 25.73 kB / 0.541 GB, free: 6.824 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.001062/0.4202, allocations: 405.2 kB / 0.5413 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.4204, allocations: 44.81 kB / 0.5414 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4204, allocations: 0 / 0.5414 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.4205, allocations: 23.86 kB / 0.5414 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.421, allocations: 38.28 kB / 0.5414 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.4224, allocations: 0.8253 MB / 0.5422 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.4228, allocations: 0.8232 MB / 0.5431 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.4229, allocations: 17.08 kB / 0.5431 GB, free: 5.34 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4229, allocations: 0 / 0.5431 GB, free: 5.34 MB / 398.1 MB Notification: Performance of Templates: time 0.008468/0.4314, allocations: 3.72 MB / 0.5467 GB, free: 2.105 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches