Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001294/0.001294, 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.001293/0.001293, 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.516/1.516, allocations: 227.4 MB / 247 MB, free: 10.44 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.223/0.223, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.002492/0.002492, allocations: 84.08 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3507, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003747/0.3544, allocations: 1.598 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.356, allocations: 0.5425 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.3561, allocations: 3.5 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.3565, allocations: 26.91 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.3568, allocations: 84.52 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.3571, allocations: 109.1 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.3574, allocations: 62.02 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3575, allocations: 14.86 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.3576, allocations: 31.98 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.3576, allocations: 18.75 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3577, allocations: 6.75 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.3577, allocations: 36.31 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.3578, allocations: 18.17 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.3579, allocations: 23.97 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3581, allocations: 86.14 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3581, allocations: 3.938 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3581, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3581, allocations: 1.188 kB / 0.5332 GB, free: 11.39 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.0006394/0.3587, allocations: 394.8 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3588, allocations: 12.81 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.3588, allocations: 35.56 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3589, allocations: 12.62 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.3591, allocations: 197.5 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3591, allocations: 5.594 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.3591, allocations: 2.688 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3593, allocations: 43.84 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3593, allocations: 0 / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3593, allocations: 5.562 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3593, allocations: 0 / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3595, allocations: 34.09 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.3601, allocations: 285 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.3604, allocations: 41.66 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.3605, allocations: 19.44 kB / 0.5343 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.3605, allocations: 9.031 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3605, allocations: 35.72 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.867e-06/0.3605, allocations: 3.984 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000722/0.3613, allocations: 155.6 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.12e-05/0.3613, allocations: 52.56 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3616, allocations: 183.1 kB / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.3616, allocations: 25.7 kB / 0.5347 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.3617, allocations: 105.2 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.3618, allocations: 13.31 kB / 0.5348 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3618, allocations: 19.36 kB / 0.5348 GB, free: 9.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002977/0.3621, allocations: 316.9 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.3622, allocations: 23.25 kB / 0.5352 GB, free: 9.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.3623, allocations: 25.58 kB / 0.5352 GB, free: 9.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3624, allocations: 50.08 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3625, allocations: 1.219 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000206/0.3627, allocations: 94.84 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3627, allocations: 8.938 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3627, allocations: 3.938 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3627, allocations: 0 / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.3628, allocations: 10.75 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3628, allocations: 11.92 kB / 0.5354 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.3629, allocations: 3.281 kB / 0.5354 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3629, allocations: 1.625 kB / 0.5354 GB, free: 9.316 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.0001818/0.3631, allocations: 125.4 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.3631, allocations: 8.234 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.3635, allocations: 96.28 kB / 0.5356 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3635, allocations: 5.375 kB / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3635, allocations: 3.938 kB / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3635, allocations: 5.359 kB / 0.5356 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.364, allocations: 353.8 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.364, allocations: 0 / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.3641, allocations: 13.61 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3641, allocations: 5.312 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3641, allocations: 0 / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3641, allocations: 9.312 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3641, allocations: 0 / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.3645, allocations: 183.2 kB / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.3647, allocations: 86.39 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3647, allocations: 5.312 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.3648, allocations: 2.75 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.3649, allocations: 6.734 kB / 0.5362 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.3649, allocations: 5.375 kB / 0.5362 GB, free: 8.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.365, allocations: 136.7 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.365, allocations: 3.938 kB / 0.5364 GB, free: 8.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3653, allocations: 18.94 kB / 0.5364 GB, free: 8.359 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.002224/0.3675, allocations: 1.02 MB / 0.5374 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3677, allocations: 50.64 kB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3678, allocations: 1.062 kB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.3679, allocations: 27.98 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3682, allocations: 15.39 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.3705, allocations: 1.522 MB / 0.539 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.3711, allocations: 0.6972 MB / 0.5396 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.233e-05/0.3712, allocations: 13.34 kB / 0.5396 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.3712, allocations: 31.27 kB / 0.5397 GB, free: 5.402 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3712, allocations: 5.219 kB / 0.5397 GB, free: 5.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.3984, allocations: 2.691 MB / 0.5423 GB, free: 3.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.473, allocations: 10.73 kB / 0.5423 GB, free: 3.895 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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_CombiTable1Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1)