Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001928/0.001928, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002056/0.002056, allocations: 204.7 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.462/1.462, allocations: 227.4 MB / 247 MB, free: 10.43 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.2295/0.2295, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002533/0.002533, allocations: 87.84 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3877, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003147/0.3909, allocations: 1.616 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3921, allocations: 0.5378 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.3921, allocations: 2.469 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.3925, allocations: 113.6 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.3928, allocations: 113.9 kB / 0.533 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.3931, allocations: 90.83 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3933, allocations: 96.98 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3934, allocations: 16.23 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/0.3935, allocations: 39.14 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3936, allocations: 68.94 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3936, allocations: 2.75 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-05/0.3937, allocations: 45.27 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.3938, allocations: 32.98 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.3939, allocations: 38.38 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3941, allocations: 116.1 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3941, allocations: 1.5 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3941, allocations: 0 / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.3941, allocations: 0 / 0.5335 GB, free: 11.27 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.0005772/0.3947, allocations: 434.9 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3947, allocations: 9.406 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.3948, allocations: 35.94 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.3948, allocations: 10.52 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3951, allocations: 215.3 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3951, allocations: 1.719 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3952, allocations: 2.5 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3953, allocations: 61.91 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3954, allocations: 5.297 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3954, allocations: 0 / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3954, allocations: 1.156 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.3955, allocations: 22.77 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3959, allocations: 310.1 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.396, allocations: 46.89 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.3961, allocations: 12.86 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3961, allocations: 3.984 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.3962, allocations: 35.94 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3962, allocations: 4 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009002/0.3971, allocations: 230.8 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3971, allocations: 53.56 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3974, allocations: 258.6 kB / 0.5352 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3974, allocations: 33.69 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.3975, allocations: 111 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3975, allocations: 27.88 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.3976, allocations: 19.22 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3977, allocations: 326.9 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-05/0.3978, allocations: 25.73 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.3979, allocations: 23.11 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.398, allocations: 67.3 kB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3981, allocations: 1.375 kB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002112/0.3983, allocations: 108.1 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3983, allocations: 9.484 kB / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3983, allocations: 0 / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3983, allocations: 1.375 kB / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3984, allocations: 21.73 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3985, allocations: 7.938 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.3985, allocations: 4.125 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3985, allocations: 1.375 kB / 0.5359 GB, free: 9.039 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.0001124/0.3986, allocations: 131.6 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.3987, allocations: 13.41 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.399, allocations: 125.4 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.399, allocations: 2.125 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.399, allocations: 7.938 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.399, allocations: 0 / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.3996, allocations: 414.6 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3996, allocations: 0 / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.3997, allocations: 26.27 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3997, allocations: 1.469 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3997, allocations: 1.219 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3997, allocations: 4.031 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3997, allocations: 1.344 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.4, allocations: 205.2 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.4001, allocations: 88.38 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.4001, allocations: 1.031 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.4002, allocations: 15.5 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.4002, allocations: 7.672 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.4002, allocations: 1.469 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.4004, allocations: 189.1 kB / 0.5371 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4004, allocations: 0 / 0.5371 GB, free: 7.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.4006, allocations: 18.66 kB / 0.5371 GB, free: 7.984 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.002174/0.4028, allocations: 1.105 MB / 0.5382 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.4031, allocations: 70.17 kB / 0.5383 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4031, allocations: 1.156 kB / 0.5383 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.4032, allocations: 33.55 kB / 0.5383 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.4036, allocations: 22.98 kB / 0.5383 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.4058, allocations: 1.755 MB / 0.54 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.4062, allocations: 0.7068 MB / 0.5407 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.923e-05/0.4062, allocations: 20.3 kB / 0.5407 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.4063, allocations: 41.52 kB / 0.5408 GB, free: 4.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.094e-06/0.4063, allocations: 0 / 0.5408 GB, free: 4.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.4342, allocations: 3.276 MB / 0.544 GB, free: 3.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.495, allocations: 12.78 kB / 0.544 GB, free: 3.047 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1)