Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 121.1 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.001442/0.001442, allocations: 204.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.488/1.488, 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.2326/0.2326, allocations: 46.11 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.003882/0.003882, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4223, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003244/0.4256, allocations: 1.598 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.4268, allocations: 0.5286 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.4268, allocations: 0 / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.4271, allocations: 31.34 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.4275, allocations: 74.16 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.4277, allocations: 98.38 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.4279, allocations: 59.45 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.428, allocations: 9.5 kB / 0.533 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.4281, allocations: 32.03 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.4281, allocations: 25.3 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.4282, allocations: 2.75 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.4282, allocations: 32.62 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.4283, allocations: 17.42 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.4284, allocations: 27.92 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.4285, allocations: 81.62 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4285, allocations: 0 / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4285, allocations: 5.312 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.4286, allocations: 0 / 0.5332 GB, free: 11.42 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.0005209/0.4291, allocations: 398.2 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.4291, allocations: 9.625 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.4292, allocations: 32.12 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.4292, allocations: 15.59 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4294, allocations: 203.8 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4294, allocations: 4.125 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4295, allocations: 2.75 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4296, allocations: 51.3 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4296, allocations: 1.375 kB / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.4296, allocations: 0 / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4296, allocations: 0 / 0.5339 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.4297, allocations: 29.66 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.4301, allocations: 276.2 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.4303, allocations: 40.56 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.4304, allocations: 18.78 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.4304, allocations: 5.25 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4305, allocations: 32.06 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.4305, allocations: 4 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005825/0.4311, allocations: 141.9 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.4311, allocations: 56.62 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4313, allocations: 185 kB / 0.5346 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.4313, allocations: 25.7 kB / 0.5346 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.4314, allocations: 95.95 kB / 0.5347 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4315, allocations: 22.45 kB / 0.5348 GB, free: 9.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.4315, allocations: 18.47 kB / 0.5348 GB, free: 9.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4316, allocations: 321.4 kB / 0.5351 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.4317, allocations: 17.83 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.4318, allocations: 19.48 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4319, allocations: 43.05 kB / 0.5352 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4319, allocations: 5.094 kB / 0.5352 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.4321, allocations: 84.17 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4322, allocations: 5.188 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4322, allocations: 1.312 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.4322, allocations: 3.938 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.4322, allocations: 14.55 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4323, allocations: 3.938 kB / 0.5353 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.4323, allocations: 11.25 kB / 0.5353 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4323, allocations: 2.031 kB / 0.5353 GB, free: 9.359 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 9.186e-05/0.4324, allocations: 123.8 kB / 0.5354 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.4325, allocations: 8.672 kB / 0.5354 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.4327, allocations: 93.78 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.4327, allocations: 1.156 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4327, allocations: 3.938 kB / 0.5355 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4327, allocations: 1.156 kB / 0.5355 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.4332, allocations: 347.9 kB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4332, allocations: 1.031 kB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.4333, allocations: 13.02 kB / 0.5358 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4333, allocations: 5.312 kB / 0.5359 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4333, allocations: 7.938 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4333, allocations: 1.406 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4333, allocations: 0 / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.4335, allocations: 179.8 kB / 0.536 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.4336, allocations: 87.27 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.4336, allocations: 5.125 kB / 0.5361 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.4337, allocations: 2.594 kB / 0.5361 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.4337, allocations: 6.453 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4338, allocations: 1.219 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.4339, allocations: 136.4 kB / 0.5363 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.4339, allocations: 5.375 kB / 0.5363 GB, free: 8.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.4341, allocations: 21.5 kB / 0.5363 GB, free: 8.41 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.001865/0.436, allocations: 1.006 MB / 0.5373 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.4362, allocations: 47.47 kB / 0.5373 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4362, allocations: 1.375 kB / 0.5373 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.4363, allocations: 27.05 kB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.4367, allocations: 17.86 kB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.4384, allocations: 1.498 MB / 0.5388 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4388, allocations: 0.7007 MB / 0.5395 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.4388, allocations: 14.19 kB / 0.5395 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.4389, allocations: 27.33 kB / 0.5395 GB, free: 5.469 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4389, allocations: 3.938 kB / 0.5395 GB, free: 5.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.46, allocations: 2.653 MB / 0.5421 GB, free: 3.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.508, allocations: 15.39 kB / 0.5422 GB, free: 3.984 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11_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_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1)