Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 201.2 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.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.42 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.2315/0.2315, 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.002204/0.002204, allocations: 76.09 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.384, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003297/0.3874, allocations: 1.604 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3886, allocations: 0.5332 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.3887, allocations: 1.375 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.389, allocations: 26.73 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3893, allocations: 85.52 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.3896, allocations: 82.52 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.3898, allocations: 66.23 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3899, allocations: 9.984 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.268e-05/0.39, allocations: 20.19 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.3901, allocations: 22.52 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3901, allocations: 10.17 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3902, allocations: 37.42 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.3903, allocations: 20.89 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.3904, allocations: 21.06 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3906, allocations: 81.28 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3906, allocations: 11.92 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3906, allocations: 0 / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3906, allocations: 0 / 0.5332 GB, free: 11.38 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.0005525/0.3912, allocations: 394.5 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3912, allocations: 14 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.3913, allocations: 30.75 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3913, allocations: 13.22 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3916, allocations: 201.8 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3916, allocations: 5.25 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.3916, allocations: 5.125 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3918, allocations: 44.22 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3918, allocations: 1.344 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.3919, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3919, allocations: 1.5 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.538e-05/0.392, allocations: 28.41 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.3924, allocations: 280.2 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3926, allocations: 43.88 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.3927, allocations: 10.86 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3927, allocations: 5.25 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3927, allocations: 35.73 kB / 0.5342 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3927, allocations: 0 / 0.5342 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005896/0.3933, allocations: 149.9 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3934, allocations: 53.44 kB / 0.5344 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.3936, allocations: 178.6 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3936, allocations: 30.98 kB / 0.5346 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.3937, allocations: 104.1 kB / 0.5347 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.3937, allocations: 10.12 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.3938, allocations: 21.67 kB / 0.5348 GB, free: 9.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3939, allocations: 317.7 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.394, allocations: 22.03 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.3941, allocations: 24.08 kB / 0.5351 GB, free: 9.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3942, allocations: 47.88 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3942, allocations: 0 / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001907/0.3944, allocations: 85.19 kB / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3944, allocations: 5.5 kB / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3945, allocations: 0 / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3945, allocations: 0 / 0.5352 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.3945, allocations: 17.61 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3946, allocations: 9.312 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.3946, allocations: 2.75 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3946, allocations: 5.312 kB / 0.5353 GB, free: 9.328 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.0001098/0.3947, allocations: 120.7 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3948, allocations: 8.078 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.395, allocations: 90.97 kB / 0.5355 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.395, allocations: 0 / 0.5355 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3951, allocations: 13.25 kB / 0.5355 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.3951, allocations: 0 / 0.5355 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.3955, allocations: 343.9 kB / 0.5358 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3955, allocations: 1.375 kB / 0.5358 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.3956, allocations: 17.61 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/0.3956, allocations: 3.938 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3956, allocations: 1.375 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3957, allocations: 192 / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3957, allocations: 4 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3959, allocations: 180.4 kB / 0.536 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.396, allocations: 91.75 kB / 0.5361 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.396, allocations: 3.938 kB / 0.5361 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.3961, allocations: 4.125 kB / 0.5361 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.3961, allocations: 1.375 kB / 0.5361 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3961, allocations: 9.359 kB / 0.5361 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.3963, allocations: 136.7 kB / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3963, allocations: 3.938 kB / 0.5363 GB, free: 8.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3965, allocations: 18.94 kB / 0.5363 GB, free: 8.379 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.002076/0.3986, allocations: 1.006 MB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3988, allocations: 47.88 kB / 0.5373 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3989, allocations: 0 / 0.5373 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.3989, allocations: 23.83 kB / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.3994, allocations: 21.11 kB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.4015, allocations: 1.493 MB / 0.5388 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.4019, allocations: 0.6968 MB / 0.5395 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.402, allocations: 9.906 kB / 0.5395 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.402, allocations: 32.05 kB / 0.5395 GB, free: 5.445 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.402, allocations: 0 / 0.5395 GB, free: 5.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.4268, allocations: 2.657 MB / 0.5421 GB, free: 3.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.552, allocations: 10.67 kB / 0.5421 GB, free: 3.961 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1)