Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001663, allocations: 117.2 kB / 17.79 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001802, allocations: 203.8 kB / 18.74 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.44 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.3039/0.3039, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002503/0.002503, allocations: 79.86 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3722, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003149/0.3754, allocations: 1.628 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.3764, allocations: 0.5399 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.3764, allocations: 1.312 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.377, allocations: 452.9 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.3775, allocations: 293 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.3779, allocations: 124.5 kB / 0.5336 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.3782, allocations: 170.4 kB / 0.5337 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3783, allocations: 14.86 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3784, allocations: 105.5 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.3786, allocations: 215.9 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3787, allocations: 2.75 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.3788, allocations: 23.11 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3789, allocations: 85.7 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.629e-05/0.379, allocations: 99.25 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.3793, allocations: 266.8 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3793, allocations: 0 / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3793, allocations: 0 / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.3793, allocations: 5.219 kB / 0.5345 GB, free: 10.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008269/0.3802, allocations: 0.6601 MB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3802, allocations: 10.31 kB / 0.5352 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.3803, allocations: 35.91 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.3803, allocations: 43.28 kB / 0.5352 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.3807, allocations: 302.7 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.3807, allocations: 1.656 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.3807, allocations: 1.469 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3809, allocations: 59.36 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3809, allocations: 3.938 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3809, allocations: 4 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3809, allocations: 1.125 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3811, allocations: 34.28 kB / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.3815, allocations: 380.5 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3817, allocations: 40.25 kB / 0.536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.3818, allocations: 22.97 kB / 0.536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3818, allocations: 1.031 kB / 0.536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3818, allocations: 35.62 kB / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3818, allocations: 0 / 0.5361 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.000364/0.3822, allocations: 122.1 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3823, allocations: 55.39 kB / 0.5363 GB, free: 9.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/0.3832, allocations: 0.8709 MB / 0.5371 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3833, allocations: 26.67 kB / 0.5371 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.3835, allocations: 220.1 kB / 0.5373 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.3835, allocations: 4.984 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.3836, allocations: 24.89 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002633/0.3838, allocations: 360.1 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.167e-05/0.3839, allocations: 20.45 kB / 0.5377 GB, free: 8.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/0.384, allocations: 13.7 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3841, allocations: 43.17 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3841, allocations: 1.062 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002094/0.3843, allocations: 105.2 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3844, allocations: 9.562 kB / 0.5379 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3844, allocations: 0 / 0.5379 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3844, allocations: 0.7188 kB / 0.5379 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3845, allocations: 14.64 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3845, allocations: 0.8125 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.3846, allocations: 11.75 kB / 0.5379 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.3846, allocations: 0.6875 kB / 0.5379 GB, free: 7.938 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 (3): * Single equations (assignments): 3 * 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.0002045/0.3848, allocations: 213.4 kB / 0.5381 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.3849, allocations: 46.84 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.3852, allocations: 123.6 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3852, allocations: 1.469 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3852, allocations: 0 / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3852, allocations: 0 / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.3855, allocations: 289.6 kB / 0.5386 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3855, allocations: 3.984 kB / 0.5386 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.3856, allocations: 7.781 kB / 0.5386 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3856, allocations: 0 / 0.5386 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3856, allocations: 4 kB / 0.5386 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3856, allocations: 1.438 kB / 0.5386 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3856, allocations: 3.938 kB / 0.5386 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3859, allocations: 208.3 kB / 0.5388 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.386, allocations: 115.2 kB / 0.5389 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.386, allocations: 4 kB / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.3861, allocations: 3.906 kB / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.3862, allocations: 5.188 kB / 0.5389 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3862, allocations: 1.531 kB / 0.5389 GB, free: 7.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007126/0.3869, allocations: 0.658 MB / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3869, allocations: 0 / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000259/0.3872, allocations: 20.19 kB / 0.5396 GB, free: 6.77 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 (3): * Single equations (assignments): 3 * 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.001867/0.389, allocations: 0.9924 MB / 0.5405 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.3892, allocations: 42.41 kB / 0.5406 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3893, allocations: 0 / 0.5406 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.3893, allocations: 16.33 kB / 0.5406 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3898, allocations: 31.34 kB / 0.5406 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.3941, allocations: 3.18 MB / 0.5437 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3946, allocations: 0.8222 MB / 0.5445 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.3946, allocations: 21.19 kB / 0.5446 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3948, allocations: 115.6 kB / 0.5447 GB, free: 2.969 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3948, allocations: 0 / 0.5447 GB, free: 2.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.4236, allocations: 5.77 MB / 0.5503 GB, free: 13.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.68/9.104, allocations: 1.969 kB / 0.5503 GB, free: 13.29 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1)