Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000999/0.000999, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 203.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4122, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003273/0.4156, allocations: 1.866 MB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.4173, allocations: 1.035 MB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.4174, allocations: 3.938 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.4177, allocations: 67.25 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.4181, allocations: 120.5 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.4187, allocations: 209.7 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.419, allocations: 208.7 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.4191, allocations: 35.28 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.4192, allocations: 83.25 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.4194, allocations: 103.4 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.4194, allocations: 13.75 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.4195, allocations: 39.62 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.4196, allocations: 45.44 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.4197, allocations: 75.81 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.42, allocations: 195.2 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.42, allocations: 0 / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.42, allocations: 1.031 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.4201, allocations: 4 kB / 0.5345 GB, free: 10.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001157/0.4212, allocations: 0.5888 MB / 0.5351 GB, free: 9.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4213, allocations: 9.312 kB / 0.5351 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.4213, allocations: 37.02 kB / 0.5351 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.4214, allocations: 17.97 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.4217, allocations: 242.2 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.4217, allocations: 11.55 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.4217, allocations: 8.594 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.4222, allocations: 141.6 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4223, allocations: 0 / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4223, allocations: 5.203 kB / 0.5355 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4223, allocations: 5.188 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.423, allocations: 160.4 kB / 0.5357 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.4238, allocations: 445.1 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.4246, allocations: 200.4 kB / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.4249, allocations: 91.81 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.425, allocations: 1.406 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005854/0.4256, allocations: 176 kB / 0.5366 GB, free: 8.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.4256, allocations: 0 / 0.5366 GB, free: 8.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003544/0.4291, allocations: 0.8361 MB / 0.5374 GB, free: 8.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4292, allocations: 58.62 kB / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.4295, allocations: 254.9 kB / 0.5377 GB, free: 7.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.4295, allocations: 36.58 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.4296, allocations: 124.6 kB / 0.5378 GB, free: 7.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.4297, allocations: 45.45 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.4298, allocations: 38.02 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4299, allocations: 327.2 kB / 0.5382 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006948/0.4306, allocations: 175.9 kB / 0.5384 GB, free: 7.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.4313, allocations: 175.9 kB / 0.5386 GB, free: 7.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.4326, allocations: 385.7 kB / 0.5389 GB, free: 7.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4326, allocations: 0 / 0.5389 GB, free: 7.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001538/0.4341, allocations: 470.7 kB / 0.5394 GB, free: 6.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.629e-05/0.4342, allocations: 58.53 kB / 0.5394 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4343, allocations: 4 kB / 0.5394 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.4343, allocations: 1.688 kB / 0.5394 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.4348, allocations: 79.17 kB / 0.5395 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.4348, allocations: 1.719 kB / 0.5395 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.4352, allocations: 65.84 kB / 0.5396 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.4353, allocations: 4.5 kB / 0.5396 GB, free: 6.629 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0002003/0.4355, allocations: 137 kB / 0.5397 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.4355, allocations: 17.12 kB / 0.5397 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.4372, allocations: 435.4 kB / 0.5401 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.4372, allocations: 5.281 kB / 0.5401 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4372, allocations: 112 / 0.5401 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4372, allocations: 9.422 kB / 0.5402 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.4393, allocations: 0.7157 MB / 0.5409 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4393, allocations: 4 kB / 0.5409 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.4397, allocations: 75.94 kB / 0.5409 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.4397, allocations: 1.094 kB / 0.5409 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.4398, allocations: 4.953 kB / 0.5409 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4398, allocations: 1.031 kB / 0.5409 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4398, allocations: 0 / 0.5409 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.4413, allocations: 490.3 kB / 0.5414 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.4414, allocations: 101.5 kB / 0.5415 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.4415, allocations: 6.594 kB / 0.5415 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.4419, allocations: 62.28 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.4421, allocations: 49.06 kB / 0.5416 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.4421, allocations: 7.703 kB / 0.5416 GB, free: 5.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.4424, allocations: 185.9 kB / 0.5418 GB, free: 5.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4424, allocations: 0 / 0.5418 GB, free: 5.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.4428, allocations: 42.41 kB / 0.5418 GB, free: 5.051 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002927/0.4458, allocations: 1.322 MB / 0.5431 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.4475, allocations: 484.7 kB / 0.5436 GB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4475, allocations: 0 / 0.5436 GB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007125/0.4482, allocations: 193.4 kB / 0.5438 GB, free: 3.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.4486, allocations: 42.83 kB / 0.5438 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.4544, allocations: 2.892 MB / 0.5466 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4548, allocations: 0.7319 MB / 0.5474 GB, free: 140 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.4549, allocations: 29.41 kB / 0.5474 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4551, allocations: 51.42 kB / 0.5474 GB, free: 60 kB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4551, allocations: 0 / 0.5474 GB, free: 60 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.4815, allocations: 5.831 MB / 0.5531 GB, free: 10.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.124, allocations: 7.984 kB / 0.5531 GB, free: 10.3 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)