Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 122.8 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.001279/0.001279, allocations: 202 kB / 18.73 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.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.45 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.2483/0.2483, allocations: 46.13 MB / 344.4 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.00222/0.00222, allocations: 79.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3359, allocations: 62.46 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002981/0.3389, allocations: 1.616 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.34, allocations: 0.5426 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.3401, allocations: 1.375 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.3404, allocations: 110.5 kB / 0.5329 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.3407, allocations: 123 kB / 0.533 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.341, allocations: 110.1 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.3412, allocations: 92.47 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3413, allocations: 21.62 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.3414, allocations: 38.98 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3415, allocations: 74.17 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3415, allocations: 1.469 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.3416, allocations: 46.7 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.3417, allocations: 20.61 kB / 0.5334 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.3417, allocations: 35.31 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.342, allocations: 120.9 kB / 0.5335 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.342, allocations: 4 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.342, allocations: 0 / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.342, allocations: 0 / 0.5335 GB, free: 11.25 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.0006036/0.3426, allocations: 439.8 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3426, allocations: 8.781 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.3427, allocations: 36.12 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.3427, allocations: 10.39 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.343, allocations: 207.5 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.343, allocations: 1.75 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.343, allocations: 7.125 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3432, allocations: 67.28 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3432, allocations: 3.953 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3432, allocations: 0 / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3432, allocations: 5.312 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.3433, allocations: 32.45 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.3438, allocations: 301.8 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.3439, allocations: 52.38 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.344, allocations: 21.19 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.344, allocations: 0 / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.344, allocations: 31.94 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.344, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009148/0.345, allocations: 247.3 kB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.345, allocations: 52.78 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3453, allocations: 259.1 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3453, allocations: 29.7 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.3454, allocations: 107 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.3454, allocations: 35.94 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.3455, allocations: 23.2 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3457, allocations: 328.3 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.3458, allocations: 31.05 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.3458, allocations: 33.69 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.346, allocations: 69.98 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.346, allocations: 4 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002507/0.3463, allocations: 113.3 kB / 0.536 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3463, allocations: 10.16 kB / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3463, allocations: 0 / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3464, allocations: 0 / 0.536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3465, allocations: 26.27 kB / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3465, allocations: 5.5 kB / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.3465, allocations: 2.469 kB / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.3466, allocations: 6.25 kB / 0.536 GB, free: 8.988 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 (8): * Single equations (assignments): 8 * 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.0001205/0.3467, allocations: 131.9 kB / 0.5361 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.3467, allocations: 14.56 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.3471, allocations: 135.3 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3471, allocations: 1.094 kB / 0.5363 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3471, allocations: 4.938 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3471, allocations: 0 / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.3477, allocations: 434.5 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3477, allocations: 3.984 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.3478, allocations: 17.72 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3478, allocations: 1.547 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3479, allocations: 10.36 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3479, allocations: 0 / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3479, allocations: 1.156 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3482, allocations: 222.2 kB / 0.5369 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.3483, allocations: 91.69 kB / 0.537 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3483, allocations: 5.484 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.3484, allocations: 7.859 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3484, allocations: 2.531 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.3484, allocations: 6.406 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.3487, allocations: 196.9 kB / 0.5372 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3487, allocations: 0 / 0.5372 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3489, allocations: 18.88 kB / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002283/0.3512, allocations: 1.102 MB / 0.5383 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.3515, allocations: 82.92 kB / 0.5384 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3515, allocations: 0 / 0.5384 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3516, allocations: 40.42 kB / 0.5384 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.352, allocations: 23.2 kB / 0.5385 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.3543, allocations: 1.799 MB / 0.5402 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.3548, allocations: 0.7156 MB / 0.5409 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.3548, allocations: 20.36 kB / 0.5409 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.3549, allocations: 37.42 kB / 0.541 GB, free: 4.711 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3549, allocations: 0.75 kB / 0.541 GB, free: 4.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.3811, allocations: 3.34 MB / 0.5442 GB, free: 2.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.485, allocations: 14.09 kB / 0.5443 GB, free: 2.906 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1)