Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.001311, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 75.89 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3907, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002902/0.3936, allocations: 1.682 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3947, allocations: 0.5861 MB / 0.5332 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.3947, allocations: 1.375 kB / 0.5332 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.3953, allocations: 445.1 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.3958, allocations: 296.1 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3962, allocations: 184 kB / 0.5341 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.3965, allocations: 186.6 kB / 0.5343 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3966, allocations: 23.2 kB / 0.5343 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3968, allocations: 119.3 kB / 0.5344 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.397, allocations: 217.1 kB / 0.5346 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3971, allocations: 3.312 kB / 0.5346 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3972, allocations: 49.7 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3973, allocations: 95.52 kB / 0.5348 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.469e-05/0.3974, allocations: 99.97 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.3978, allocations: 285.2 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3978, allocations: 4 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3978, allocations: 0 / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.3979, allocations: 0 / 0.5352 GB, free: 10.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001061/0.3989, allocations: 0.6571 MB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.399, allocations: 10.38 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3991, allocations: 42.84 kB / 0.5358 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.3995, allocations: 299.4 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3995, allocations: 2.719 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.3996, allocations: 2.844 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.3998, allocations: 85.59 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3998, allocations: 0 / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3998, allocations: 1.094 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.3998, allocations: 0.875 kB / 0.5362 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.4, allocations: 40.75 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.4007, allocations: 421.5 kB / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.401, allocations: 56.95 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.4011, allocations: 29.88 kB / 0.5367 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4011, allocations: 1.375 kB / 0.5367 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.4011, allocations: 35.88 kB / 0.5368 GB, free: 9.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4012, allocations: 0 / 0.5368 GB, free: 9.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00164/0.4028, allocations: 0.4931 MB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.4029, allocations: 56.44 kB / 0.5373 GB, free: 8.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.4039, allocations: 0.8645 MB / 0.5382 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4039, allocations: 25.7 kB / 0.5382 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.4041, allocations: 224.4 kB / 0.5384 GB, free: 8.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.4042, allocations: 31.61 kB / 0.5384 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.4042, allocations: 34.52 kB / 0.5385 GB, free: 8.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4044, allocations: 359.9 kB / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.4046, allocations: 56.23 kB / 0.5389 GB, free: 7.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.4048, allocations: 54.05 kB / 0.5389 GB, free: 7.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.4051, allocations: 135.8 kB / 0.539 GB, free: 7.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4051, allocations: 0 / 0.539 GB, free: 7.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004257/0.4056, allocations: 194 kB / 0.5392 GB, free: 7.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4056, allocations: 9.516 kB / 0.5392 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4056, allocations: 0 / 0.5392 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4056, allocations: 1.031 kB / 0.5392 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.4058, allocations: 32.8 kB / 0.5393 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4058, allocations: 0 / 0.5393 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.314e-05/0.4059, allocations: 14.67 kB / 0.5393 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.4059, allocations: 2.219 kB / 0.5393 GB, free: 7.676 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 (11): * Single equations (assignments): 11 * 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.0002044/0.4061, allocations: 221.4 kB / 0.5395 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.4062, allocations: 42.5 kB / 0.5395 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.4067, allocations: 233.4 kB / 0.5398 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.4067, allocations: 5.188 kB / 0.5398 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4067, allocations: 1.125 kB / 0.5398 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4067, allocations: 0 / 0.5398 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000974/0.4077, allocations: 0.6065 MB / 0.5404 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4077, allocations: 1 kB / 0.5404 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.4078, allocations: 24.98 kB / 0.5404 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4079, allocations: 1.281 kB / 0.5404 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.4079, allocations: 5.156 kB / 0.5404 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4079, allocations: 5.5 kB / 0.5404 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4079, allocations: 1.25 kB / 0.5404 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.4084, allocations: 305.7 kB / 0.5407 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.4085, allocations: 115.2 kB / 0.5408 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.4086, allocations: 6.328 kB / 0.5408 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.4087, allocations: 9.281 kB / 0.5408 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.4088, allocations: 13.2 kB / 0.5408 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.4088, allocations: 7.312 kB / 0.5408 GB, free: 6.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008058/0.4096, allocations: 0.6566 MB / 0.5415 GB, free: 6.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4096, allocations: 0 / 0.5415 GB, free: 6.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000318/0.41, allocations: 33.75 kB / 0.5415 GB, free: 6.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001145/0.4111, allocations: 456 kB / 0.5419 GB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.4115, allocations: 128.8 kB / 0.5421 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4115, allocations: 0 / 0.5421 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.4117, allocations: 74.89 kB / 0.5421 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.4122, allocations: 34.28 kB / 0.5422 GB, free: 5.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.4137, allocations: 0.8739 MB / 0.543 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.4142, allocations: 0.8454 MB / 0.5438 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.928e-05/0.4143, allocations: 28.53 kB / 0.5439 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.4144, allocations: 11.44 kB / 0.5439 GB, free: 4.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4144, allocations: 4 kB / 0.5439 GB, free: 4.285 MB / 398.1 MB Notification: Performance of Templates: time 0.00652/0.4209, allocations: 1.959 MB / 0.5458 GB, free: 2.332 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches