Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 113.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 208.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, 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.231/0.231, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3843, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003494/0.3879, allocations: 1.623 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.389, allocations: 0.5362 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.3891, allocations: 0 / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.3898, allocations: 452.8 kB / 0.5342 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.3904, allocations: 292.5 kB / 0.5345 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.3908, allocations: 133.2 kB / 0.5346 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.3912, allocations: 166.4 kB / 0.5348 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3913, allocations: 14.84 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3915, allocations: 105.3 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.3919, allocations: 223.6 kB / 0.5351 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3919, allocations: 2.812 kB / 0.5351 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.392, allocations: 19.44 kB / 0.5351 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.3922, allocations: 81.66 kB / 0.5352 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3923, allocations: 98.56 kB / 0.5353 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.3927, allocations: 257.6 kB / 0.5355 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3927, allocations: 1.125 kB / 0.5355 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3927, allocations: 4 kB / 0.5355 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3927, allocations: 0 / 0.5355 GB, free: 10.99 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001041/0.3938, allocations: 0.633 MB / 0.5362 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3938, allocations: 17.2 kB / 0.5362 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3939, allocations: 43.31 kB / 0.5362 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.3943, allocations: 289.6 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3943, allocations: 9.312 kB / 0.5365 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.3943, allocations: 2.625 kB / 0.5365 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.3945, allocations: 59.05 kB / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3945, allocations: 0 / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3945, allocations: 0 / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3945, allocations: 1.094 kB / 0.5366 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3947, allocations: 38.55 kB / 0.5366 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.3952, allocations: 378.6 kB / 0.537 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.3954, allocations: 44.72 kB / 0.537 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.3954, allocations: 19.25 kB / 0.537 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3955, allocations: 3.984 kB / 0.537 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3955, allocations: 35.97 kB / 0.5371 GB, free: 9.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/0.3955, allocations: 0 / 0.5371 GB, free: 9.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003807/0.3959, allocations: 122 kB / 0.5372 GB, free: 9.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.396, allocations: 51.41 kB / 0.5372 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.397, allocations: 0.859 MB / 0.5381 GB, free: 9.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3971, allocations: 25.7 kB / 0.5381 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3973, allocations: 215.8 kB / 0.5383 GB, free: 8.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.3973, allocations: 4.906 kB / 0.5383 GB, free: 8.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.3973, allocations: 21.14 kB / 0.5383 GB, free: 8.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3975, allocations: 359.2 kB / 0.5387 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.3976, allocations: 21.64 kB / 0.5387 GB, free: 8.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.3977, allocations: 13.42 kB / 0.5387 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.3978, allocations: 43.8 kB / 0.5387 GB, free: 8.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3978, allocations: 0 / 0.5387 GB, free: 8.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002206/0.398, allocations: 101 kB / 0.5388 GB, free: 8.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3981, allocations: 5.875 kB / 0.5388 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.3981, allocations: 11.98 kB / 0.5389 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3981, allocations: 0 / 0.5389 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.3982, allocations: 7.156 kB / 0.5389 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3982, allocations: 0 / 0.5389 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.3983, allocations: 8.234 kB / 0.5389 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3983, allocations: 5.219 kB / 0.5389 GB, free: 8.285 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 (3): * Single equations (assignments): 3 * 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.0002117/0.3985, allocations: 210 kB / 0.5391 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.3986, allocations: 37.38 kB / 0.5391 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.3989, allocations: 126.2 kB / 0.5392 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3989, allocations: 5.406 kB / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3989, allocations: 0 / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3989, allocations: 1.031 kB / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.3992, allocations: 296.1 kB / 0.5395 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3992, allocations: 0 / 0.5395 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.3993, allocations: 10.55 kB / 0.5395 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3993, allocations: 1.594 kB / 0.5395 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3993, allocations: 0 / 0.5395 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3993, allocations: 5.5 kB / 0.5395 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3993, allocations: 0 / 0.5395 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.3996, allocations: 203.8 kB / 0.5397 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.3997, allocations: 117.5 kB / 0.5398 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3997, allocations: 1.125 kB / 0.5398 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.3998, allocations: 7.359 kB / 0.5398 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.3999, allocations: 5.094 kB / 0.5399 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3999, allocations: 1.344 kB / 0.5399 GB, free: 7.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007493/0.4006, allocations: 0.6511 MB / 0.5405 GB, free: 7.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4006, allocations: 1.094 kB / 0.5405 GB, free: 7.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.4009, allocations: 18.83 kB / 0.5405 GB, free: 7.121 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 (3): * Single equations (assignments): 3 * 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.0008822/0.4018, allocations: 337.5 kB / 0.5408 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.4021, allocations: 46.3 kB / 0.5409 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4021, allocations: 3.938 kB / 0.5409 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.4021, allocations: 20.3 kB / 0.5409 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.4027, allocations: 22.62 kB / 0.5409 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.4044, allocations: 0.8322 MB / 0.5417 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.4051, allocations: 0.8169 MB / 0.5425 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.4051, allocations: 14.56 kB / 0.5425 GB, free: 5.66 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4051, allocations: 1.344 kB / 0.5425 GB, free: 5.66 MB / 398.1 MB Notification: Performance of Templates: time 0.007789/0.4129, allocations: 3.513 MB / 0.546 GB, free: 2.816 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches