Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001265, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247 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.2107/0.2107, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 87.84 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003127/0.3292, allocations: 1.661 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.331, allocations: 1.173 MB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.331, allocations: 1.375 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.3312, allocations: 19.98 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.3315, allocations: 97.67 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.3319, allocations: 125.5 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.332, allocations: 72.77 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3321, allocations: 19.48 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.3322, allocations: 31.02 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.3323, allocations: 39.61 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3324, allocations: 5.031 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.3325, allocations: 96.66 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.3326, allocations: 21.02 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.3327, allocations: 33.47 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3329, allocations: 141 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3329, allocations: 0 / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.333, allocations: 1.062 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.333, allocations: 4 kB / 0.5341 GB, free: 10.7 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.0005602/0.3335, allocations: 430.3 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3336, allocations: 9.156 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.3336, allocations: 40.84 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.3337, allocations: 8.328 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3339, allocations: 194 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3339, allocations: 5.562 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3339, allocations: 6.672 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3341, allocations: 81.62 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3341, allocations: 0 / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3342, allocations: 1.062 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3342, allocations: 1.219 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3343, allocations: 36.09 kB / 0.5349 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.3347, allocations: 297 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3348, allocations: 51.19 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.3349, allocations: 28.05 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3349, allocations: 1.094 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.335, allocations: 31.91 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.335, allocations: 3.938 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000748/0.3357, allocations: 211.2 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3358, allocations: 86.42 kB / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.336, allocations: 149.7 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.336, allocations: 29.69 kB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.3361, allocations: 100.3 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3361, allocations: 30.48 kB / 0.5358 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.3361, allocations: 19.22 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3363, allocations: 325.5 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.3364, allocations: 31.22 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3365, allocations: 50.31 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.3367, allocations: 80.75 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3367, allocations: 0 / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000274/0.337, allocations: 115.2 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3371, allocations: 5.531 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3371, allocations: 4 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3371, allocations: 1.375 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3372, allocations: 22.25 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3372, allocations: 0 / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.3373, allocations: 18.52 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3373, allocations: 2.188 kB / 0.5365 GB, free: 8.434 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 (7): * Single equations (assignments): 7 * 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 9.66e-05/0.3374, allocations: 114.3 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.3375, allocations: 12.3 kB / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.3378, allocations: 124.3 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3378, allocations: 1.125 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3378, allocations: 0 / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.3378, allocations: 8.953 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.3384, allocations: 397.3 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3384, allocations: 0 / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/0.3385, allocations: 26.61 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3385, allocations: 0 / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3385, allocations: 5.062 kB / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3385, allocations: 1 kB / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3385, allocations: 0 / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.3389, allocations: 215.3 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.339, allocations: 82.56 kB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.339, allocations: 13.11 kB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.3391, allocations: 6.219 kB / 0.5375 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.3391, allocations: 7.484 kB / 0.5375 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3392, allocations: 2.188 kB / 0.5375 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3393, allocations: 130.8 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3393, allocations: 0 / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3396, allocations: 45.73 kB / 0.5376 GB, free: 7.41 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 (7): * Single equations (assignments): 7 * 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.002299/0.3419, allocations: 1.13 MB / 0.5387 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.3422, allocations: 78.69 kB / 0.5388 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3423, allocations: 7.875 kB / 0.5388 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.3424, allocations: 42.03 kB / 0.5389 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3428, allocations: 17.8 kB / 0.5389 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3449, allocations: 1.593 MB / 0.5404 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3452, allocations: 0.6923 MB / 0.5411 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.718e-05/0.3453, allocations: 21.86 kB / 0.5411 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.3454, allocations: 32.39 kB / 0.5412 GB, free: 4.336 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3454, allocations: 0 / 0.5412 GB, free: 4.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3708, allocations: 3.498 MB / 0.5446 GB, free: 2.355 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.096, allocations: 10.03 kB / 0.5446 GB, free: 2.348 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches