Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001771/0.00177, allocations: 113 kB / 18.46 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.002246/0.002247, allocations: 208.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 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.21/0.21, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 80.09 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4019, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.00315/0.4051, allocations: 1.621 MB / 0.5333 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.4062, allocations: 0.5347 MB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.4063, allocations: 0 / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.4066, allocations: 106.4 kB / 0.5339 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.407, allocations: 115.5 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.4074, allocations: 99.03 kB / 0.5341 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.4076, allocations: 84.5 kB / 0.5342 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4077, allocations: 20.22 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.4078, allocations: 35.16 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.4079, allocations: 68.88 kB / 0.5343 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.4079, allocations: 2.75 kB / 0.5343 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4081, allocations: 54.22 kB / 0.5344 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.4081, allocations: 33.42 kB / 0.5344 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.4082, allocations: 33.23 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.4084, allocations: 112.9 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4084, allocations: 1.375 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4085, allocations: 0 / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4085, allocations: 0 / 0.5345 GB, free: 11.52 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.0005892/0.4091, allocations: 429.4 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4091, allocations: 8.25 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.4092, allocations: 15.72 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.4094, allocations: 213.9 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4094, allocations: 1.75 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.4095, allocations: 7.125 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.4096, allocations: 54.17 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4096, allocations: 1.375 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4097, allocations: 0 / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4097, allocations: 1.375 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.4098, allocations: 35.03 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.4102, allocations: 301.6 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.4104, allocations: 43.06 kB / 0.5356 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.4104, allocations: 23.8 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.4105, allocations: 5.312 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4105, allocations: 34.56 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4105, allocations: 1.375 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008867/0.4114, allocations: 223.2 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.4114, allocations: 51.41 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.4117, allocations: 263.6 kB / 0.5362 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.4117, allocations: 25.7 kB / 0.5362 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.4118, allocations: 111.6 kB / 0.5363 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.4119, allocations: 29.7 kB / 0.5363 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.4119, allocations: 20.78 kB / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.412, allocations: 326.6 kB / 0.5367 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/0.4121, allocations: 21.2 kB / 0.5367 GB, free: 9.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.4122, allocations: 34.72 kB / 0.5367 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4124, allocations: 64.84 kB / 0.5368 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4124, allocations: 0 / 0.5368 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002215/0.4126, allocations: 104.9 kB / 0.5369 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4126, allocations: 8.469 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4126, allocations: 1.156 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4127, allocations: 0 / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4128, allocations: 17.67 kB / 0.5369 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.4128, allocations: 5.094 kB / 0.5369 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.4128, allocations: 15.23 kB / 0.5369 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4128, allocations: 10.25 kB / 0.5369 GB, free: 9.336 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.0001032/0.413, allocations: 126.9 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.413, allocations: 18.83 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.4133, allocations: 116.9 kB / 0.5372 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.4133, allocations: 5.094 kB / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4133, allocations: 0 / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4133, allocations: 4.938 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.4139, allocations: 405.7 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4139, allocations: 1.125 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.414, allocations: 17.23 kB / 0.5376 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.414, allocations: 9.031 kB / 0.5376 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.414, allocations: 5.156 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.414, allocations: 1.594 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.414, allocations: 0 / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.4143, allocations: 206.6 kB / 0.5378 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.4144, allocations: 91.89 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4144, allocations: 4.734 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.4145, allocations: 7.938 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.4145, allocations: 6.391 kB / 0.5379 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.4146, allocations: 3 kB / 0.5379 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.4147, allocations: 192.4 kB / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.4147, allocations: 0 / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.415, allocations: 22.22 kB / 0.5381 GB, free: 8.289 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.001117/0.4161, allocations: 463 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.4164, allocations: 65.75 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4164, allocations: 0 / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.149e-05/0.4165, allocations: 41.92 kB / 0.5387 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.4169, allocations: 23.33 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.4175, allocations: 317.4 kB / 0.539 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4178, allocations: 0.7142 MB / 0.5397 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.4179, allocations: 18.52 kB / 0.5397 GB, free: 7.023 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4179, allocations: 4 kB / 0.5397 GB, free: 7.02 MB / 398.1 MB Notification: Performance of Templates: time 0.003981/0.4219, allocations: 1.848 MB / 0.5415 GB, free: 6.055 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches