Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, 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.001424/0.001424, 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.496/1.496, allocations: 227.4 MB / 247 MB, free: 10.46 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.2316/0.2316, allocations: 46.12 MB / 344.4 MB, free: 11.49 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.002414/0.002414, allocations: 79.81 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.415, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003667/0.4188, allocations: 1.624 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.42, allocations: 0.5337 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.4201, allocations: 0 / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.4204, allocations: 81.77 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.4208, allocations: 106.8 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.4211, allocations: 89.69 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.4213, allocations: 83.78 kB / 0.5331 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.4215, allocations: 16.23 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.4216, allocations: 40.39 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.4217, allocations: 55.33 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.4217, allocations: 4.125 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4219, allocations: 48.84 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.4219, allocations: 20.12 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.422, allocations: 33.23 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.4222, allocations: 108.3 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4222, allocations: 1.375 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4222, allocations: 0 / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.4223, allocations: 0 / 0.5334 GB, free: 11.33 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.0005517/0.4228, allocations: 419.6 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4229, allocations: 9.625 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.4229, allocations: 32.12 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.423, allocations: 12.97 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.4232, allocations: 213.1 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4232, allocations: 5.75 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.4232, allocations: 3.125 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.4234, allocations: 53.98 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.4234, allocations: 0 / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4234, allocations: 9.312 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4235, allocations: 4 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.746e-05/0.4236, allocations: 31.03 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.424, allocations: 291.8 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.4241, allocations: 46.33 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.4242, allocations: 12.36 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4242, allocations: 9.484 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.4242, allocations: 35.78 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4242, allocations: 0 / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009231/0.4252, allocations: 229.3 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.4252, allocations: 56.88 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4255, allocations: 211.4 kB / 0.535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4255, allocations: 25.7 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.4256, allocations: 109.9 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.4256, allocations: 31.2 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.4257, allocations: 19.28 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4259, allocations: 322.4 kB / 0.5355 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.426, allocations: 25.7 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.426, allocations: 30.19 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.4262, allocations: 57.17 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4262, allocations: 0 / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002322/0.4265, allocations: 107.8 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4265, allocations: 6 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.4265, allocations: 4 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4265, allocations: 0 / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4266, allocations: 26.3 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4267, allocations: 5.094 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.4267, allocations: 6.734 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.4267, allocations: 2.656 kB / 0.5357 GB, free: 9.137 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.0001089/0.4268, allocations: 123.9 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.4269, allocations: 12.91 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.4272, allocations: 124.1 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4272, allocations: 1.375 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4272, allocations: 3.938 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4272, allocations: 5.359 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.4278, allocations: 406.6 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4278, allocations: 0 / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.69e-05/0.4279, allocations: 25.7 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4279, allocations: 1.375 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.4279, allocations: 1.375 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4279, allocations: 1.375 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4279, allocations: 0 / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.4282, allocations: 205.2 kB / 0.5366 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.4283, allocations: 91.61 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.4283, allocations: 9.406 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.4284, allocations: 3.656 kB / 0.5367 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.4284, allocations: 6.922 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4284, allocations: 2.75 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.4286, allocations: 167.2 kB / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4286, allocations: 0 / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.4289, allocations: 25.77 kB / 0.5369 GB, free: 8.09 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.002173/0.431, allocations: 1.094 MB / 0.538 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4313, allocations: 61.38 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4313, allocations: 1.406 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.387e-05/0.4314, allocations: 36.47 kB / 0.5381 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.4318, allocations: 19.58 kB / 0.5381 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.4339, allocations: 1.671 MB / 0.5397 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.4343, allocations: 0.7083 MB / 0.5404 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.4343, allocations: 24.06 kB / 0.5404 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.4344, allocations: 32.64 kB / 0.5405 GB, free: 4.988 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4344, allocations: 0 / 0.5405 GB, free: 4.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.4598, allocations: 3.118 MB / 0.5435 GB, free: 3.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.558, allocations: 6.344 kB / 0.5435 GB, free: 3.293 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1)