Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 117.6 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.001365/0.001365, allocations: 199.9 kB / 18.74 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.485/1.485, allocations: 227.4 MB / 247 MB, free: 10.41 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.2414/0.2414, allocations: 46.12 MB / 344.3 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.002267/0.002267, allocations: 87.81 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3965, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.004654/0.4012, allocations: 1.68 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.403, allocations: 0.58 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.4031, allocations: 0 / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.4035, allocations: 49.66 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.4039, allocations: 95.72 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.4046, allocations: 173.3 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.4048, allocations: 97.25 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.405, allocations: 15.23 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.4051, allocations: 41.58 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.4052, allocations: 36.34 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.4052, allocations: 4.125 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.4054, allocations: 52.97 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.4055, allocations: 25.55 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.4055, allocations: 34.61 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.4059, allocations: 123 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4059, allocations: 4 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4059, allocations: 0 / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4059, allocations: 0 / 0.5336 GB, free: 11.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00074/0.4067, allocations: 423.7 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4067, allocations: 13.56 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.4068, allocations: 36.12 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.4068, allocations: 14.34 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.4071, allocations: 204.6 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4071, allocations: 1.75 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.4072, allocations: 7.062 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.4074, allocations: 74.22 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4075, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4075, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4075, allocations: 1.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.4077, allocations: 48.7 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.4083, allocations: 320.6 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.4086, allocations: 61.23 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.4088, allocations: 37.7 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.4088, allocations: 1.094 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.4088, allocations: 35.75 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.4089, allocations: 0 / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.002083/0.4109, allocations: 433.8 kB / 0.5352 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.411, allocations: 57.66 kB / 0.5353 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.4113, allocations: 182.3 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.4113, allocations: 26.77 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.4114, allocations: 105.4 kB / 0.5356 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.4115, allocations: 44.61 kB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.4116, allocations: 21.75 kB / 0.5356 GB, free: 9.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4118, allocations: 322.3 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.412, allocations: 61.3 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4122, allocations: 52.41 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.4126, allocations: 136.6 kB / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4126, allocations: 0 / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004858/0.4131, allocations: 160.6 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4132, allocations: 6.125 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4132, allocations: 0 / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.4132, allocations: 7.922 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4134, allocations: 24.48 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4134, allocations: 1.5 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.4135, allocations: 10.2 kB / 0.5364 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4135, allocations: 6.531 kB / 0.5364 GB, free: 8.746 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 (11): * Single equations (assignments): 11 * 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.0001516/0.4137, allocations: 136 kB / 0.5365 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.4138, allocations: 21.31 kB / 0.5365 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.4144, allocations: 177.7 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4144, allocations: 4.969 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4145, allocations: 1.062 kB / 0.5367 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.4145, allocations: 7.984 kB / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.4156, allocations: 0.4981 MB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4156, allocations: 0 / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.4158, allocations: 32.72 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4158, allocations: 1.25 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4158, allocations: 6.75 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4158, allocations: 1.375 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4158, allocations: 5.438 kB / 0.5372 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.4165, allocations: 276.4 kB / 0.5375 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.4166, allocations: 88.23 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.4166, allocations: 6.141 kB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.4168, allocations: 10.38 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.4169, allocations: 12.52 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.4169, allocations: 3.75 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.4171, allocations: 148.9 kB / 0.5378 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4171, allocations: 0 / 0.5378 GB, free: 7.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004953/0.4176, allocations: 27.5 kB / 0.5378 GB, free: 7.562 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003268/0.4209, allocations: 1.156 MB / 0.5389 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005279/0.4214, allocations: 136.9 kB / 0.539 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4214, allocations: 0 / 0.539 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.4217, allocations: 71.55 kB / 0.5391 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.4223, allocations: 23.02 kB / 0.5391 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.4258, allocations: 1.901 MB / 0.541 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.4263, allocations: 0.7185 MB / 0.5417 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.4264, allocations: 31.2 kB / 0.5417 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4266, allocations: 36.23 kB / 0.5418 GB, free: 4.234 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4266, allocations: 0 / 0.5418 GB, free: 4.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.4546, allocations: 3.464 MB / 0.5451 GB, free: 2.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.408, allocations: 6.297 kB / 0.5451 GB, free: 2.363 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1)