Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 207.8 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.503/1.503, 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 4.1.0-beta.om/package.mo): time 0.2262/0.2262, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3036, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003502/0.3071, allocations: 2.038 MB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.309, allocations: 1.014 MB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.3092, allocations: 2.75 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.3097, allocations: 256 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005304/0.3103, allocations: 261.9 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3114, allocations: 495.1 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.3119, allocations: 324.1 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3121, allocations: 68.61 kB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.3122, allocations: 143.8 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.3125, allocations: 209.4 kB / 0.5353 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.3126, allocations: 11 kB / 0.5353 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3128, allocations: 71.91 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.3129, allocations: 92.39 kB / 0.5354 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.313, allocations: 124.8 kB / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.3135, allocations: 346.3 kB / 0.5359 GB, free: 9.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3135, allocations: 3.938 kB / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.819e-06/0.3135, allocations: 0 / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.3135, allocations: 4.969 kB / 0.5359 GB, free: 9.547 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008922/0.3144, allocations: 0.6933 MB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3145, allocations: 9.906 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.3145, allocations: 41.69 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.3146, allocations: 52.72 kB / 0.5367 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.315, allocations: 336 kB / 0.537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3151, allocations: 3.844 kB / 0.537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.3151, allocations: 12.22 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.3153, allocations: 114.8 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3154, allocations: 0 / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3154, allocations: 5.062 kB / 0.5371 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3154, allocations: 6.781 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.3156, allocations: 71.58 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007455/0.3163, allocations: 0.499 MB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3166, allocations: 91.23 kB / 0.5378 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.3166, allocations: 41.62 kB / 0.5378 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3167, allocations: 6.219 kB / 0.5378 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3167, allocations: 39.36 kB / 0.5379 GB, free: 7.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.3167, allocations: 0 / 0.5379 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009824/0.3177, allocations: 395.9 kB / 0.5382 GB, free: 7.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.3178, allocations: 53.59 kB / 0.5383 GB, free: 7.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007317/0.3185, allocations: 0.593 MB / 0.5389 GB, free: 7.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3186, allocations: 26.92 kB / 0.5389 GB, free: 7.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3188, allocations: 216.1 kB / 0.5391 GB, free: 6.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.3188, allocations: 57.94 kB / 0.5392 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.3189, allocations: 33.47 kB / 0.5392 GB, free: 6.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3191, allocations: 355.9 kB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3192, allocations: 53.75 kB / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3194, allocations: 56.22 kB / 0.5396 GB, free: 6.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.3196, allocations: 120.6 kB / 0.5397 GB, free: 6.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3197, allocations: 0 / 0.5397 GB, free: 6.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004608/0.3201, allocations: 200.8 kB / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3202, allocations: 5.438 kB / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3202, allocations: 1.406 kB / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3202, allocations: 0 / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3204, allocations: 39.58 kB / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3204, allocations: 3.938 kB / 0.54 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3206, allocations: 13.7 kB / 0.54 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3206, allocations: 4.625 kB / 0.54 GB, free: 6.305 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 (17): * Single equations (assignments): 17 * 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.0002403/0.3208, allocations: 175.8 kB / 0.5402 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.3209, allocations: 41.97 kB / 0.5402 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.3215, allocations: 250.5 kB / 0.5405 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3215, allocations: 1.344 kB / 0.5405 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3215, allocations: 0 / 0.5405 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3215, allocations: 1.438 kB / 0.5405 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.3225, allocations: 0.6405 MB / 0.5411 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3226, allocations: 1.156 kB / 0.5411 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.3227, allocations: 38.23 kB / 0.5411 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3227, allocations: 3.984 kB / 0.5411 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3227, allocations: 6.406 kB / 0.5411 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.3227, allocations: 5.094 kB / 0.5411 GB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3227, allocations: 3.938 kB / 0.5411 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/0.3232, allocations: 298 kB / 0.5414 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.3234, allocations: 122.9 kB / 0.5415 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.3234, allocations: 5.031 kB / 0.5415 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3235, allocations: 12.56 kB / 0.5416 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.3236, allocations: 14.7 kB / 0.5416 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3236, allocations: 4.812 kB / 0.5416 GB, free: 5.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006023/0.3242, allocations: 440.2 kB / 0.542 GB, free: 4.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3242, allocations: 0 / 0.542 GB, free: 4.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.3246, allocations: 48.44 kB / 0.542 GB, free: 4.828 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 (17): * Single equations (assignments): 17 * 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.003546/0.3282, allocations: 1.433 MB / 0.5434 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.3286, allocations: 137.8 kB / 0.5436 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3286, allocations: 0 / 0.5436 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3288, allocations: 78.5 kB / 0.5436 GB, free: 3.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.3294, allocations: 82.86 kB / 0.5437 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.3339, allocations: 3.173 MB / 0.5468 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.3345, allocations: 0.8143 MB / 0.5476 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.3346, allocations: 50.23 kB / 0.5477 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.3349, allocations: 135.5 kB / 0.5478 GB, free: 15.95 MB / 414.1 MB Notification: Performance of SimCode: time 2.855e-06/0.3349, allocations: 0 / 0.5478 GB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3668, allocations: 7.655 MB / 0.5553 GB, free: 8.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.668/9.035, allocations: 1.078 kB / 0.5553 GB, free: 8.402 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1)