Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 197.2 kB / 18.73 MB, free: 4.34 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.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 75.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.387, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003599/0.3907, allocations: 1.649 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.3917, allocations: 0.6833 MB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.3917, allocations: 1.75 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.392, allocations: 31.06 kB / 0.5333 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.3923, allocations: 45.28 kB / 0.5333 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.897e-06/0.3923, allocations: 4 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3925, allocations: 32.36 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.3925, allocations: 6.734 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.198e-05/0.3926, allocations: 12.05 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.3926, allocations: 10.81 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3927, allocations: 1.375 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.3927, allocations: 10.86 kB / 0.5334 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.3928, allocations: 20.17 kB / 0.5334 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.3929, allocations: 21.31 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3931, allocations: 72.48 kB / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3931, allocations: 0 / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3931, allocations: 0 / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3931, allocations: 0 / 0.5335 GB, free: 11.63 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004505/0.3935, allocations: 366.9 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.3936, allocations: 9.625 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.3936, allocations: 11.58 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3938, allocations: 174.9 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3938, allocations: 1.75 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3938, allocations: 1.75 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3941, allocations: 124.5 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3941, allocations: 8.062 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3941, allocations: 9.312 kB / 0.5342 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/0.3942, allocations: 23.11 kB / 0.5342 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.3943, allocations: 43.28 kB / 0.5343 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.3949, allocations: 0.8945 MB / 0.5351 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.395, allocations: 173.1 kB / 0.5353 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.3951, allocations: 85.55 kB / 0.5354 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.3951, allocations: 79.22 kB / 0.5355 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.3952, allocations: 107.2 kB / 0.5356 GB, free: 9.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3952, allocations: 0 / 0.5356 GB, free: 9.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.687e-05/0.3953, allocations: 41.72 kB / 0.5356 GB, free: 9.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.3954, allocations: 126.7 kB / 0.5357 GB, free: 9.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3956, allocations: 190.1 kB / 0.5359 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3956, allocations: 25.7 kB / 0.5359 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3957, allocations: 143.4 kB / 0.5361 GB, free: 9.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.3957, allocations: 5.359 kB / 0.5361 GB, free: 9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.3958, allocations: 44.7 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.396, allocations: 321.6 kB / 0.5364 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.396, allocations: 39.17 kB / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3962, allocations: 149.1 kB / 0.5366 GB, free: 8.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3965, allocations: 202.4 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3965, allocations: 1.969 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003959/0.3969, allocations: 205.9 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3969, allocations: 8.812 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3969, allocations: 4.5 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.397, allocations: 6.312 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.3971, allocations: 40.55 kB / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.3972, allocations: 10.75 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.3972, allocations: 31.45 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.3973, allocations: 10.25 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000157/0.3974, allocations: 209.7 kB / 0.5373 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3975, allocations: 117.3 kB / 0.5374 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/0.3976, allocations: 117.3 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.015e-05/0.3977, allocations: 185.2 kB / 0.5377 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-05/0.3978, allocations: 181.4 kB / 0.5379 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-05/0.3979, allocations: 189.3 kB / 0.5381 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.3982, allocations: 416.5 kB / 0.5385 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-05/0.3983, allocations: 114.1 kB / 0.5386 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.3983, allocations: 106.1 kB / 0.5387 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.333e-05/0.3984, allocations: 177.4 kB / 0.5388 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.331e-05/0.3985, allocations: 181.3 kB / 0.539 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.187e-05/0.3986, allocations: 181.3 kB / 0.5392 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-05/0.3987, allocations: 181.3 kB / 0.5394 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.3989, allocations: 314.1 kB / 0.5397 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.399, allocations: 192 kB / 0.5398 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.657e-05/0.3991, allocations: 185.4 kB / 0.54 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3992, allocations: 118 kB / 0.5401 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.3993, allocations: 177.4 kB / 0.5403 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.757e-05/0.3994, allocations: 106.2 kB / 0.5404 GB, free: 4.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3995, allocations: 129.6 kB / 0.5405 GB, free: 4.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3996, allocations: 0 / 0.5405 GB, free: 4.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.3999, allocations: 15.78 kB / 0.5405 GB, free: 4.426 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 (0): * Single equations (assignments): 0 * 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.0005915/0.4005, allocations: 257.7 kB / 0.5408 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.4007, allocations: 78.38 kB / 0.5409 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4007, allocations: 1.094 kB / 0.5409 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.4007, allocations: 0 / 0.5409 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.4013, allocations: 462.7 kB / 0.5413 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.4016, allocations: 257.2 kB / 0.5415 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.4019, allocations: 0.6996 MB / 0.5422 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.4021, allocations: 50.55 kB / 0.5423 GB, free: 2.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.4022, allocations: 17.05 kB / 0.5423 GB, free: 2.766 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4022, allocations: 1.406 kB / 0.5423 GB, free: 2.766 MB / 398.1 MB Notification: Performance of Templates: time 0.00319/0.4054, allocations: 0.7245 MB / 0.543 GB, free: 2.395 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches