Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 122.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.002182/0.002182, allocations: 202 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.526/1.526, 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.2237/0.2237, allocations: 46.12 MB / 344.4 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.002415/0.002415, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3498, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003022/0.3528, allocations: 1.66 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000989/0.3539, allocations: 0.5465 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.3539, allocations: 0 / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3542, allocations: 33.47 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3545, allocations: 81.77 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.3548, allocations: 91.7 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.355, allocations: 91.05 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3551, allocations: 31.14 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.3552, allocations: 32.31 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.883e-05/0.3553, allocations: 32.17 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3553, allocations: 8.75 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3554, allocations: 43.14 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.247e-05/0.3555, allocations: 29.69 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.3556, allocations: 35.14 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3558, allocations: 110.4 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3558, allocations: 5 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3558, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3559, allocations: 0 / 0.5334 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000507/0.3564, allocations: 406.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3564, allocations: 9.75 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.3565, allocations: 45.8 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3565, allocations: 12.94 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.3567, allocations: 203.2 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3567, allocations: 2.062 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3568, allocations: 9.156 kB / 0.534 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3569, allocations: 72.7 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3569, allocations: 3.984 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.357, allocations: 6.031 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.357, allocations: 1.938 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3571, allocations: 37.97 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.3575, allocations: 314.8 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3577, allocations: 66.61 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.3577, allocations: 30.66 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3578, allocations: 1.469 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.3578, allocations: 31.94 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3578, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.3588, allocations: 302.6 kB / 0.5349 GB, free: 9.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3589, allocations: 52.78 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3591, allocations: 166.6 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3591, allocations: 27.08 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.3592, allocations: 108.2 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.3592, allocations: 45.09 kB / 0.5352 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.3593, allocations: 25.97 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3594, allocations: 321.6 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.3595, allocations: 48.53 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.3596, allocations: 32.61 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3598, allocations: 97.33 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3598, allocations: 0 / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002489/0.3601, allocations: 126.1 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3601, allocations: 8.531 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3601, allocations: 0 / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3601, allocations: 1.125 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3603, allocations: 41.19 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3603, allocations: 1.188 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.3603, allocations: 2.531 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3604, allocations: 7.781 kB / 0.5359 GB, free: 8.992 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 (13): * Single equations (assignments): 13 * 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.0001103/0.3605, allocations: 124.4 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.3605, allocations: 16.97 kB / 0.5361 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.3609, allocations: 159.8 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3609, allocations: 1.656 kB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3609, allocations: 5 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3609, allocations: 0 / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.3616, allocations: 476.9 kB / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3616, allocations: 0 / 0.5367 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.3617, allocations: 28.33 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3617, allocations: 2.188 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3617, allocations: 1.062 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3617, allocations: 1.125 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3617, allocations: 5.031 kB / 0.5367 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.3621, allocations: 237.6 kB / 0.5369 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.3621, allocations: 88.52 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3622, allocations: 1.25 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.3622, allocations: 11.55 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3623, allocations: 13.56 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3623, allocations: 7.391 kB / 0.5371 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.3624, allocations: 126.8 kB / 0.5372 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3624, allocations: 4.875 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3627, allocations: 24.81 kB / 0.5372 GB, free: 7.887 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 (13): * Single equations (assignments): 13 * 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.002281/0.365, allocations: 1.111 MB / 0.5383 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3653, allocations: 100.8 kB / 0.5384 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3653, allocations: 0 / 0.5384 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3654, allocations: 59.94 kB / 0.5384 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3658, allocations: 36.88 kB / 0.5385 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.3678, allocations: 1.671 MB / 0.5401 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3682, allocations: 0.7068 MB / 0.5408 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.552e-05/0.3682, allocations: 15.67 kB / 0.5408 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.3683, allocations: 35.86 kB / 0.5408 GB, free: 4.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3683, allocations: 5.062 kB / 0.5409 GB, free: 4.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.3923, allocations: 3.19 MB / 0.544 GB, free: 3.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.512, allocations: 20.06 kB / 0.544 GB, free: 2.996 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29_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_CombiTable1Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1)