Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001814/0.001814, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00215/0.002151, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 247 MB, free: 10.47 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.2249/0.2249, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002431/0.002431, allocations: 79.81 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3392, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003477/0.3428, allocations: 1.619 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3439, allocations: 0.5365 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.3439, allocations: 1.781 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3442, allocations: 76.14 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004606/0.3447, allocations: 103.5 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.345, allocations: 102.9 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.3452, allocations: 80.31 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3453, allocations: 12.25 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.3453, allocations: 38.95 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3455, allocations: 56.69 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3455, allocations: 2.75 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.3456, allocations: 48.86 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.3457, allocations: 20.17 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.3457, allocations: 33.23 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.346, allocations: 112.2 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.346, allocations: 5.359 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.346, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.346, allocations: 3.938 kB / 0.5334 GB, free: 11.27 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.0005981/0.3466, allocations: 411.6 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3467, allocations: 9.625 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3467, allocations: 40.12 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.3467, allocations: 14.34 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.347, allocations: 203.8 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.347, allocations: 1.656 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.347, allocations: 3.062 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3472, allocations: 58.8 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3472, allocations: 3.938 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3472, allocations: 3.938 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3472, allocations: 1.219 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3473, allocations: 34.92 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.3478, allocations: 291.3 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.348, allocations: 43.25 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.348, allocations: 20.62 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.3481, allocations: 0 / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3481, allocations: 36.41 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3481, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000964/0.3491, allocations: 222.7 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3491, allocations: 52.5 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3493, allocations: 218.9 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3494, allocations: 29.7 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.3495, allocations: 102.3 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3495, allocations: 34.08 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3496, allocations: 20.75 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004143/0.35, allocations: 326.2 kB / 0.5355 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3501, allocations: 25.66 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3502, allocations: 26.64 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3505, allocations: 64.09 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3505, allocations: 0 / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000313/0.3508, allocations: 100 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3508, allocations: 5.062 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3509, allocations: 0 / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3509, allocations: 1.25 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.351, allocations: 22.14 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3511, allocations: 3.938 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.3511, allocations: 8.078 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3512, allocations: 5.375 kB / 0.5357 GB, free: 9.102 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.0001494/0.3513, allocations: 131.9 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.3514, allocations: 17.39 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.3518, allocations: 128.3 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3518, allocations: 5.375 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3518, allocations: 3.938 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3519, allocations: 1.375 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.3527, allocations: 398.7 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3527, allocations: 0 / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3528, allocations: 25.61 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3528, allocations: 1.375 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3528, allocations: 5.406 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3529, allocations: 1.375 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3529, allocations: 0 / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.3533, allocations: 205.1 kB / 0.5366 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.3534, allocations: 92.08 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3534, allocations: 5.094 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3535, allocations: 7.391 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.3536, allocations: 11.22 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3536, allocations: 2.188 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.3539, allocations: 163.3 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3539, allocations: 1.125 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.3543, allocations: 26.02 kB / 0.5369 GB, free: 8.043 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.003037/0.3574, allocations: 1.09 MB / 0.538 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.3578, allocations: 61.88 kB / 0.538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3578, allocations: 0 / 0.538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3579, allocations: 41.44 kB / 0.5381 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.3585, allocations: 18.8 kB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.3617, allocations: 1.677 MB / 0.5397 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.3623, allocations: 0.702 MB / 0.5404 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.3624, allocations: 19.61 kB / 0.5404 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.3625, allocations: 34.7 kB / 0.5405 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3625, allocations: 0 / 0.5405 GB, free: 4.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.3952, allocations: 3.114 MB / 0.5435 GB, free: 3.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.448, allocations: 14.16 kB / 0.5435 GB, free: 3.246 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1)