Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 71.89 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3833, allocations: 62.45 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003489/0.3869, allocations: 1.932 MB / 0.5329 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.3887, allocations: 1.085 MB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3889, allocations: 11.06 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.3894, allocations: 257 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004609/0.3899, allocations: 261.9 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.3912, allocations: 0.6353 MB / 0.5351 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.3916, allocations: 321.8 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3918, allocations: 54.31 kB / 0.5354 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3919, allocations: 135.4 kB / 0.5356 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.3922, allocations: 198.9 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.3922, allocations: 8.188 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3923, allocations: 54.91 kB / 0.5358 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3925, allocations: 99.81 kB / 0.5359 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3926, allocations: 105.7 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.3931, allocations: 293.9 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3931, allocations: 0 / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3931, allocations: 1.219 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3931, allocations: 3.938 kB / 0.5363 GB, free: 9.824 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008702/0.394, allocations: 0.6443 MB / 0.5369 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.394, allocations: 10.53 kB / 0.5369 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.524e-05/0.3941, allocations: 42.53 kB / 0.537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.3946, allocations: 327 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3946, allocations: 2.562 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.3947, allocations: 12.95 kB / 0.5373 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.3949, allocations: 102.2 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.395, allocations: 7.922 kB / 0.5374 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.395, allocations: 1.094 kB / 0.5374 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.395, allocations: 5.75 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.3952, allocations: 70.39 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.396, allocations: 449.8 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3962, allocations: 78.2 kB / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.3963, allocations: 41.27 kB / 0.538 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.3963, allocations: 5.219 kB / 0.538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.3964, allocations: 31.72 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.3964, allocations: 1.094 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004653/0.3968, allocations: 159.5 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3969, allocations: 56.41 kB / 0.5383 GB, free: 8.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.3976, allocations: 0.5722 MB / 0.5388 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3977, allocations: 25.7 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.3978, allocations: 201.9 kB / 0.539 GB, free: 7.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.3979, allocations: 26.64 kB / 0.5391 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.3979, allocations: 19.75 kB / 0.5391 GB, free: 7.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3981, allocations: 349.5 kB / 0.5394 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.3981, allocations: 26.67 kB / 0.5394 GB, free: 7.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.3982, allocations: 26.03 kB / 0.5395 GB, free: 7.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3983, allocations: 65.61 kB / 0.5395 GB, free: 7.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3984, allocations: 5.5 kB / 0.5395 GB, free: 7.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002188/0.3986, allocations: 132.5 kB / 0.5397 GB, free: 7.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3986, allocations: 5.156 kB / 0.5397 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3986, allocations: 1.781 kB / 0.5397 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3986, allocations: 0 / 0.5397 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.3987, allocations: 17.83 kB / 0.5397 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3988, allocations: 3.984 kB / 0.5397 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.3988, allocations: 11.36 kB / 0.5397 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3988, allocations: 2.406 kB / 0.5397 GB, free: 7.008 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 (6): * Single equations (assignments): 6 * 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.0001562/0.399, allocations: 176.6 kB / 0.5399 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.3991, allocations: 41.16 kB / 0.5399 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.3994, allocations: 152.8 kB / 0.5401 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3994, allocations: 5.125 kB / 0.5401 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3994, allocations: 0 / 0.5401 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3994, allocations: 64 / 0.5401 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.3998, allocations: 299.2 kB / 0.5403 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3998, allocations: 0 / 0.5403 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.3999, allocations: 14.03 kB / 0.5404 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3999, allocations: 1.031 kB / 0.5404 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3999, allocations: 5.141 kB / 0.5404 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.3999, allocations: 5.094 kB / 0.5404 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3999, allocations: 3.938 kB / 0.5404 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.4002, allocations: 229.8 kB / 0.5406 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.4003, allocations: 104.1 kB / 0.5407 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.4003, allocations: 1.125 kB / 0.5407 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.4004, allocations: 10.12 kB / 0.5407 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.4005, allocations: 10.27 kB / 0.5407 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4005, allocations: 2.125 kB / 0.5407 GB, free: 6.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005404/0.401, allocations: 427 kB / 0.5411 GB, free: 5.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.401, allocations: 0 / 0.5411 GB, free: 5.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.4014, allocations: 33.62 kB / 0.5412 GB, free: 5.898 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 (6): * Single equations (assignments): 6 * 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.001383/0.4028, allocations: 0.5876 MB / 0.5417 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.403, allocations: 65.14 kB / 0.5418 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.403, allocations: 0 / 0.5418 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.4031, allocations: 40.53 kB / 0.5418 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.4036, allocations: 74.91 kB / 0.5419 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.4046, allocations: 0.6462 MB / 0.5425 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.405, allocations: 0.8185 MB / 0.5433 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.4051, allocations: 51.22 kB / 0.5434 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.4052, allocations: 24.27 kB / 0.5434 GB, free: 4.324 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4052, allocations: 1.219 kB / 0.5434 GB, free: 4.324 MB / 398.1 MB Notification: Performance of Templates: time 0.006345/0.4115, allocations: 2.742 MB / 0.5461 GB, free: 2.188 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches