Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 117.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001632/0.001631, allocations: 204.6 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 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.2175/0.2175, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 72.11 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3399, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003501/0.3435, allocations: 1.647 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.3445, allocations: 0.6842 MB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.3445, allocations: 0 / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3448, allocations: 31.83 kB / 0.5328 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.3451, allocations: 44.95 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.439e-06/0.3451, allocations: 0 / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3452, allocations: 32 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.3453, allocations: 4.344 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.589e-05/0.3453, allocations: 16.17 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.3454, allocations: 16.3 kB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.3454, allocations: 0 / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.096e-05/0.3455, allocations: 5.375 kB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.3455, allocations: 20.98 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.3456, allocations: 20.69 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.3457, allocations: 77.55 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3457, allocations: 3.562 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3457, allocations: 0 / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3457, allocations: 0 / 0.5331 GB, free: 11.41 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.0003753/0.3461, allocations: 366.5 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3462, allocations: 9.625 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.3462, allocations: 41.48 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.3462, allocations: 7.594 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.3464, allocations: 168.5 kB / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.3464, allocations: 5.75 kB / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3464, allocations: 1.75 kB / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3466, allocations: 131 kB / 0.5338 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3466, allocations: 9.297 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3466, allocations: 1.375 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/0.3467, allocations: 31.05 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.452e-05/0.3468, allocations: 43.28 kB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.3474, allocations: 0.8854 MB / 0.5347 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.992e-05/0.3474, allocations: 170.5 kB / 0.5349 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.3475, allocations: 84.08 kB / 0.5349 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3475, allocations: 76.66 kB / 0.535 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3476, allocations: 109.9 kB / 0.5351 GB, free: 9.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.3476, allocations: 9.312 kB / 0.5351 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.147e-05/0.3477, allocations: 33.73 kB / 0.5352 GB, free: 9.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3477, allocations: 126.7 kB / 0.5353 GB, free: 9.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3479, allocations: 189.2 kB / 0.5355 GB, free: 8.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.3479, allocations: 25.7 kB / 0.5355 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.348, allocations: 151.6 kB / 0.5356 GB, free: 8.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-06/0.348, allocations: 1.906 kB / 0.5356 GB, free: 8.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.3481, allocations: 43.98 kB / 0.5357 GB, free: 8.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3482, allocations: 322.3 kB / 0.536 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/0.3483, allocations: 38.39 kB / 0.536 GB, free: 8.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3484, allocations: 153.2 kB / 0.5362 GB, free: 8.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.3486, allocations: 204 kB / 0.5364 GB, free: 7.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3486, allocations: 1.156 kB / 0.5364 GB, free: 7.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003234/0.3489, allocations: 201.6 kB / 0.5366 GB, free: 7.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3489, allocations: 6.938 kB / 0.5366 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.349, allocations: 12.27 kB / 0.5366 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.349, allocations: 6.75 kB / 0.5366 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3491, allocations: 40.33 kB / 0.5366 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3491, allocations: 5.469 kB / 0.5366 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.371e-05/0.3492, allocations: 25.03 kB / 0.5367 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3493, allocations: 9.219 kB / 0.5367 GB, free: 7.812 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.0001152/0.3494, allocations: 213.6 kB / 0.5369 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.3494, allocations: 117.7 kB / 0.537 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.3495, allocations: 125.6 kB / 0.5371 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-05/0.3496, allocations: 181.4 kB / 0.5373 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.823e-05/0.3496, allocations: 184.4 kB / 0.5374 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.808e-05/0.3497, allocations: 177.6 kB / 0.5376 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.3499, allocations: 429.8 kB / 0.538 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/0.35, allocations: 105 kB / 0.5381 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.35, allocations: 106.1 kB / 0.5382 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.933e-05/0.3501, allocations: 181.5 kB / 0.5384 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.3501, allocations: 185.7 kB / 0.5386 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.357e-05/0.3502, allocations: 180.2 kB / 0.5387 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.241e-05/0.3502, allocations: 177.5 kB / 0.5389 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.3504, allocations: 319 kB / 0.5392 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.3504, allocations: 187.3 kB / 0.5394 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.3505, allocations: 185.6 kB / 0.5396 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.3506, allocations: 102.3 kB / 0.5397 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/0.3507, allocations: 185.4 kB / 0.5399 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.3507, allocations: 110.2 kB / 0.54 GB, free: 4.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.856e-05/0.3508, allocations: 125.7 kB / 0.5401 GB, free: 4.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3508, allocations: 0 / 0.5401 GB, free: 4.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3511, allocations: 15.88 kB / 0.5401 GB, free: 4.168 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.0007234/0.3518, allocations: 0.9114 MB / 0.541 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.352, allocations: 71.59 kB / 0.541 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.352, allocations: 0 / 0.541 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.352, allocations: 4 kB / 0.5411 GB, free: 3.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3524, allocations: 467.8 kB / 0.5415 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3541, allocations: 1.884 MB / 0.5433 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3544, allocations: 0.6954 MB / 0.544 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.3546, allocations: 58.38 kB / 0.5441 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.3546, allocations: 26.89 kB / 0.5441 GB, free: 220 kB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3546, allocations: 0 / 0.5441 GB, free: 220 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.3741, allocations: 2.113 MB / 0.5462 GB, free: 15.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.135, allocations: 9.844 kB / 0.5462 GB, free: 15.02 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches