Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001379, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 197.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.13 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 79.86 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.00287/0.3247, allocations: 1.662 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3263, allocations: 1.173 MB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.3264, allocations: 1.375 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.3266, allocations: 19.97 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.3269, allocations: 89.73 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.3272, allocations: 133.8 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3273, allocations: 72.14 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.3274, allocations: 16.39 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.3275, allocations: 30.23 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3277, allocations: 44.11 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.3277, allocations: 8.781 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.3279, allocations: 92 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.3279, allocations: 21.08 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.328, allocations: 30.19 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3282, allocations: 152.9 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3282, allocations: 0 / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3282, allocations: 0 / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3283, allocations: 1.375 kB / 0.5341 GB, free: 10.71 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.0005468/0.3288, allocations: 421.8 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3288, allocations: 13.47 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.3289, allocations: 32 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3289, allocations: 9.609 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3291, allocations: 207.3 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3292, allocations: 2.906 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3292, allocations: 5.484 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.3294, allocations: 74.23 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3294, allocations: 4 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3294, allocations: 4 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.3294, allocations: 5.906 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3296, allocations: 31.62 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.3299, allocations: 297.7 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.3301, allocations: 47.28 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.72e-05/0.3301, allocations: 23.41 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.3302, allocations: 9.031 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3302, allocations: 31.75 kB / 0.5353 GB, free: 9.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3302, allocations: 0 / 0.5353 GB, free: 9.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007582/0.331, allocations: 219.7 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.331, allocations: 78.48 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3312, allocations: 155.9 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3312, allocations: 29.7 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.3313, allocations: 96.27 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3313, allocations: 30.48 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.3314, allocations: 23.22 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3315, allocations: 325.5 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3316, allocations: 35.16 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3318, allocations: 46.31 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.332, allocations: 80.7 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.332, allocations: 0 / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002755/0.3323, allocations: 115.1 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3323, allocations: 5.312 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3323, allocations: 0 / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3323, allocations: 1.188 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3325, allocations: 25.86 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3325, allocations: 1.469 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.3325, allocations: 13.83 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3326, allocations: 2.281 kB / 0.5365 GB, free: 8.461 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.492e-05/0.3327, allocations: 114.3 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.3327, allocations: 8.328 kB / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.3331, allocations: 128.5 kB / 0.5367 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3331, allocations: 1.062 kB / 0.5367 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3331, allocations: 0 / 0.5367 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3331, allocations: 8.969 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.3336, allocations: 396.2 kB / 0.5371 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3336, allocations: 1.031 kB / 0.5371 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.3337, allocations: 22.73 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3337, allocations: 3.984 kB / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3338, allocations: 5.844 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3338, allocations: 0 / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3338, allocations: 1 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.3341, allocations: 210.4 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.3342, allocations: 95.73 kB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.3342, allocations: 3.938 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.3343, allocations: 11.02 kB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.3344, allocations: 6.156 kB / 0.5375 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3344, allocations: 2.219 kB / 0.5375 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.3345, allocations: 127.2 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3345, allocations: 0 / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3348, allocations: 42.2 kB / 0.5376 GB, free: 7.441 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.002197/0.337, allocations: 1.133 MB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.3373, allocations: 83.36 kB / 0.5388 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3373, allocations: 3.938 kB / 0.5388 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3374, allocations: 45.09 kB / 0.5388 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3377, allocations: 16.05 kB / 0.5389 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3398, allocations: 1.589 MB / 0.5404 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3401, allocations: 0.6959 MB / 0.5411 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.3402, allocations: 17.52 kB / 0.5411 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.3403, allocations: 35.47 kB / 0.5411 GB, free: 4.359 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3403, allocations: 0 / 0.5411 GB, free: 4.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3658, allocations: 3.498 MB / 0.5446 GB, free: 2.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.16, allocations: 13.91 kB / 0.5446 GB, free: 2.367 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches