Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 71.89 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.395, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.004737/0.3999, allocations: 1.669 MB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.4015, allocations: 0.5519 MB / 0.5338 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.4016, allocations: 1.375 kB / 0.5338 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.4025, allocations: 457.3 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006912/0.4032, allocations: 296.1 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.4036, allocations: 128.8 kB / 0.5347 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.4039, allocations: 178 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.4041, allocations: 15.78 kB / 0.5349 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.4042, allocations: 110.6 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.4046, allocations: 215.8 kB / 0.5352 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.4046, allocations: 2.844 kB / 0.5352 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.4047, allocations: 42.31 kB / 0.5352 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.4048, allocations: 82 kB / 0.5353 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.405, allocations: 102.8 kB / 0.5354 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.4053, allocations: 262.9 kB / 0.5357 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4053, allocations: 0 / 0.5357 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4053, allocations: 0 / 0.5357 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4054, allocations: 0 / 0.5357 GB, free: 10.9 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.000985/0.4063, allocations: 0.647 MB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4064, allocations: 8.781 kB / 0.5363 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.006e-05/0.4065, allocations: 42.84 kB / 0.5363 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.4068, allocations: 306.5 kB / 0.5366 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.4068, allocations: 1.594 kB / 0.5366 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.4069, allocations: 2.875 kB / 0.5366 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.407, allocations: 65.28 kB / 0.5367 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4071, allocations: 0 / 0.5367 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4071, allocations: 1.281 kB / 0.5367 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4071, allocations: 1.281 kB / 0.5367 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.4072, allocations: 36.31 kB / 0.5367 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.4077, allocations: 386.3 kB / 0.5371 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.4079, allocations: 43.77 kB / 0.5371 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.408, allocations: 27.81 kB / 0.5372 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.408, allocations: 5.125 kB / 0.5372 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.408, allocations: 35.59 kB / 0.5372 GB, free: 9.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4081, allocations: 0 / 0.5372 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008422/0.4089, allocations: 296 kB / 0.5375 GB, free: 9.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.409, allocations: 52.53 kB / 0.5375 GB, free: 9.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/0.4099, allocations: 0.8622 MB / 0.5384 GB, free: 8.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.4099, allocations: 26.73 kB / 0.5384 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.4102, allocations: 211.5 kB / 0.5386 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.4102, allocations: 22.67 kB / 0.5386 GB, free: 8.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.4102, allocations: 18.97 kB / 0.5386 GB, free: 8.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4104, allocations: 372.3 kB / 0.539 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4105, allocations: 30.31 kB / 0.539 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.847e-05/0.4106, allocations: 38.56 kB / 0.5391 GB, free: 8.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.4109, allocations: 72.52 kB / 0.5391 GB, free: 8.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4109, allocations: 0 / 0.5391 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002939/0.4112, allocations: 149.3 kB / 0.5393 GB, free: 8.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4112, allocations: 5.844 kB / 0.5393 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4112, allocations: 0 / 0.5393 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4112, allocations: 3.984 kB / 0.5393 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4113, allocations: 23.45 kB / 0.5393 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4114, allocations: 8.047 kB / 0.5393 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.4114, allocations: 18.72 kB / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.4115, allocations: 1.156 kB / 0.5393 GB, free: 7.996 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 (7): * Single equations (assignments): 7 * 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.0002104/0.4117, allocations: 214.4 kB / 0.5395 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.4118, allocations: 41.75 kB / 0.5396 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.4121, allocations: 168.9 kB / 0.5397 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.4122, allocations: 1.375 kB / 0.5397 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4122, allocations: 4 kB / 0.5397 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4122, allocations: 5.031 kB / 0.5397 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006649/0.4129, allocations: 498.9 kB / 0.5402 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4129, allocations: 0 / 0.5402 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.413, allocations: 18.58 kB / 0.5402 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.413, allocations: 1.25 kB / 0.5402 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.413, allocations: 7.938 kB / 0.5403 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.413, allocations: 1.312 kB / 0.5403 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.413, allocations: 0 / 0.5403 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.4133, allocations: 239.9 kB / 0.5405 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.4134, allocations: 114.8 kB / 0.5406 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.4135, allocations: 5.406 kB / 0.5406 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.4136, allocations: 13.89 kB / 0.5406 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.4136, allocations: 1.344 kB / 0.5406 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-06/0.4136, allocations: 2.906 kB / 0.5406 GB, free: 6.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000708/0.4143, allocations: 0.6555 MB / 0.5413 GB, free: 6.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4143, allocations: 3.938 kB / 0.5413 GB, free: 6.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000272/0.4146, allocations: 23.75 kB / 0.5413 GB, free: 6.629 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 (7): * Single equations (assignments): 7 * 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.0009431/0.4156, allocations: 404.5 kB / 0.5417 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.4158, allocations: 81.91 kB / 0.5417 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4159, allocations: 1.219 kB / 0.5417 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.416, allocations: 41.16 kB / 0.5418 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.4164, allocations: 31.73 kB / 0.5418 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4177, allocations: 0.8448 MB / 0.5426 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.4182, allocations: 0.8239 MB / 0.5434 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.539e-05/0.4182, allocations: 17.94 kB / 0.5435 GB, free: 5.105 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4182, allocations: 3.938 kB / 0.5435 GB, free: 5.102 MB / 398.1 MB Notification: Performance of Templates: time 0.006953/0.4252, allocations: 3.847 MB / 0.5472 GB, free: 1.523 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches