Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.001429, allocations: 122.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.001446/0.001446, allocations: 202 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.452/1.452, allocations: 227.4 MB / 247 MB, free: 10.4 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.2378/0.2378, allocations: 46.11 MB / 344.3 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.002291/0.002291, allocations: 83.8 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.403, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002985/0.406, allocations: 1.597 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.4079, allocations: 1.158 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.4079, allocations: 5.281 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.4082, allocations: 21.06 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.4085, allocations: 85.05 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.4088, allocations: 87.06 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.409, allocations: 67.72 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4091, allocations: 17.75 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.4091, allocations: 25.36 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.4093, allocations: 39.42 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.4093, allocations: 3.875 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.4095, allocations: 93.88 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.4096, allocations: 16.45 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.4096, allocations: 19.72 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.4099, allocations: 150.8 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4099, allocations: 0 / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4099, allocations: 0 / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.4099, allocations: 0 / 0.5339 GB, free: 10.82 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.0005407/0.4105, allocations: 399.6 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4105, allocations: 9.625 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.4106, allocations: 36.12 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.4106, allocations: 13 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.4109, allocations: 188.5 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4109, allocations: 9.672 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.4109, allocations: 1.75 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.4111, allocations: 67.72 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4111, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4111, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.4111, allocations: 5.312 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.4112, allocations: 24.34 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.4116, allocations: 280.1 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.4118, allocations: 47.06 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.4119, allocations: 15.81 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.4119, allocations: 0 / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.412, allocations: 31.94 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.412, allocations: 0 / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005638/0.4125, allocations: 145.9 kB / 0.5351 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.4126, allocations: 78.48 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.4128, allocations: 147.7 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4128, allocations: 25.7 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.4129, allocations: 96.2 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.4129, allocations: 17.22 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.4129, allocations: 19.22 kB / 0.5355 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4131, allocations: 328.1 kB / 0.5358 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.4132, allocations: 18.98 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.4133, allocations: 34.02 kB / 0.5359 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.4134, allocations: 44.39 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.4134, allocations: 4 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001832/0.4136, allocations: 85.56 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.4136, allocations: 9.438 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4136, allocations: 0 / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4137, allocations: 1.375 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/0.4137, allocations: 13.61 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4137, allocations: 3.938 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.4138, allocations: 8.062 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.4138, allocations: 5.359 kB / 0.536 GB, free: 8.715 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 8.736e-05/0.4139, allocations: 116.6 kB / 0.5361 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.414, allocations: 12.08 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.4142, allocations: 89.28 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4142, allocations: 1.375 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4142, allocations: 0 / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4142, allocations: 3.938 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.4147, allocations: 346 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4147, allocations: 13.05 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.4147, allocations: 8.938 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4147, allocations: 1.125 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4148, allocations: 4.969 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4148, allocations: 0 / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4148, allocations: 1.062 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.415, allocations: 179.8 kB / 0.5368 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.4151, allocations: 91.22 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.4151, allocations: 4.531 kB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.4152, allocations: 11.02 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.4152, allocations: 2.562 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4153, allocations: 1.25 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.4154, allocations: 116.8 kB / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4154, allocations: 0 / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.4157, allocations: 39.98 kB / 0.537 GB, free: 7.762 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.002186/0.4179, allocations: 1.101 MB / 0.5381 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.4181, allocations: 48.94 kB / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4181, allocations: 0 / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.4182, allocations: 26.95 kB / 0.5382 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.4186, allocations: 29.42 kB / 0.5382 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.4206, allocations: 1.424 MB / 0.5396 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.421, allocations: 0.6971 MB / 0.5403 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.607e-05/0.4211, allocations: 15.06 kB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.4211, allocations: 30.19 kB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4211, allocations: 1.344 kB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.4493, allocations: 3.225 MB / 0.5435 GB, free: 2.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.556, allocations: 10.31 kB / 0.5435 GB, free: 2.953 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19_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_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1)