Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, 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.001449/0.001449, 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.469/1.469, 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.2347/0.2347, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002658/0.002658, allocations: 75.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.4004, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003081/0.4036, allocations: 1.606 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.4055, allocations: 1.153 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.4056, allocations: 5.344 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.4059, allocations: 20.22 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.4062, allocations: 85.34 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.4065, allocations: 93.8 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.4067, allocations: 67.56 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4068, allocations: 18.09 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.4068, allocations: 22.27 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007042/0.4075, allocations: 41.55 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.4076, allocations: 7.781 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.4078, allocations: 95.78 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.4078, allocations: 15.36 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.4079, allocations: 20.56 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.4082, allocations: 145.7 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4082, allocations: 1.188 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4082, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4082, allocations: 0 / 0.5339 GB, free: 10.81 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.0006202/0.4088, allocations: 400.6 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4089, allocations: 8.938 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.409, allocations: 40.02 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.409, allocations: 7.672 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.4092, allocations: 201.4 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.4093, allocations: 1.938 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.4093, allocations: 2.406 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.4095, allocations: 64.12 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4095, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4095, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4095, allocations: 9.875 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.4096, allocations: 23.69 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.41, allocations: 275.6 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.4102, allocations: 39.38 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.4103, allocations: 19.38 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.4103, allocations: 5.469 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.4104, allocations: 35.91 kB / 0.535 GB, free: 9.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4104, allocations: 0 / 0.535 GB, free: 9.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005749/0.4109, allocations: 144.6 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.411, allocations: 82.47 kB / 0.5352 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4112, allocations: 149.3 kB / 0.5354 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.4112, allocations: 27.08 kB / 0.5354 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.4113, allocations: 94.83 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.4114, allocations: 18.59 kB / 0.5355 GB, free: 9.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.4114, allocations: 17.84 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4116, allocations: 325.5 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.4117, allocations: 21.55 kB / 0.5359 GB, free: 8.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.4117, allocations: 35.45 kB / 0.5359 GB, free: 8.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.4119, allocations: 44.2 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4119, allocations: 0 / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001981/0.4121, allocations: 79.88 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4121, allocations: 11.78 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4121, allocations: 0 / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4122, allocations: 1.375 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.4122, allocations: 21.58 kB / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4123, allocations: 0 / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.4123, allocations: 8.062 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.4123, allocations: 1.375 kB / 0.536 GB, free: 8.703 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 (5): * Single equations (assignments): 5 * 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.000108/0.4124, allocations: 118 kB / 0.5362 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.4125, allocations: 8.078 kB / 0.5362 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.4128, allocations: 92.22 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4128, allocations: 1.375 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4128, allocations: 0 / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4128, allocations: 3.938 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.4133, allocations: 354.8 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4133, allocations: 5.312 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.4134, allocations: 9.625 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4134, allocations: 0 / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4134, allocations: 9.312 kB / 0.5366 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4134, allocations: 3.984 kB / 0.5366 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4134, allocations: 0 / 0.5366 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.4137, allocations: 176 kB / 0.5368 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.4137, allocations: 83.16 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.4138, allocations: 9.047 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.4138, allocations: 3.344 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.4139, allocations: 10.28 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4139, allocations: 1.094 kB / 0.5369 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.414, allocations: 113.9 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.414, allocations: 1.062 kB / 0.537 GB, free: 7.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.4143, allocations: 39.42 kB / 0.537 GB, free: 7.75 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 (5): * Single equations (assignments): 5 * 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.002147/0.4165, allocations: 1.1 MB / 0.5381 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.4167, allocations: 48.22 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4167, allocations: 1.094 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.4168, allocations: 23.33 kB / 0.5382 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4172, allocations: 19.77 kB / 0.5382 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.419, allocations: 1.428 MB / 0.5396 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.4193, allocations: 0.693 MB / 0.5403 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.76e-05/0.4194, allocations: 10.66 kB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.4195, allocations: 35.31 kB / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4195, allocations: 4 kB / 0.5403 GB, free: 4.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.4567, allocations: 3.23 MB / 0.5435 GB, free: 2.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.463, allocations: 2.938 kB / 0.5435 GB, free: 2.945 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1)