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.00152/0.00152, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 72.38 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3718, allocations: 62.43 MB / 0.5305 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003793/0.3756, allocations: 1.866 MB / 0.5323 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3776, allocations: 1.038 MB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3778, allocations: 4 kB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.3781, allocations: 63.97 kB / 0.5334 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.3786, allocations: 124.1 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.3793, allocations: 209.7 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.3796, allocations: 212.7 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3798, allocations: 26.23 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3799, allocations: 87.3 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.3801, allocations: 99.38 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.3801, allocations: 16.38 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.3803, allocations: 47.56 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.3804, allocations: 38.89 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3805, allocations: 78.64 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.3808, allocations: 191.4 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3808, allocations: 0 / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3808, allocations: 0 / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3808, allocations: 0 / 0.5345 GB, free: 10.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001151/0.382, allocations: 0.5901 MB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.382, allocations: 8.25 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.3821, allocations: 37.48 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.3822, allocations: 21 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.3825, allocations: 231 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3825, allocations: 7.125 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.3825, allocations: 9.438 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.3831, allocations: 145 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3831, allocations: 0 / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3831, allocations: 5.141 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3831, allocations: 1.062 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.3839, allocations: 167.8 kB / 0.5357 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.3848, allocations: 438.2 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.3856, allocations: 199.9 kB / 0.5363 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.386, allocations: 95.94 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.3861, allocations: 4.953 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/0.3867, allocations: 168.4 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 4.238e-06/0.3867, allocations: 112 / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003908/0.3906, allocations: 0.8394 MB / 0.5374 GB, free: 8.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.3907, allocations: 65.5 kB / 0.5374 GB, free: 8.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.391, allocations: 251.5 kB / 0.5377 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.3911, allocations: 33.11 kB / 0.5377 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.3912, allocations: 127.8 kB / 0.5378 GB, free: 7.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.3912, allocations: 37.73 kB / 0.5379 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.3913, allocations: 33.67 kB / 0.5379 GB, free: 7.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3915, allocations: 328.4 kB / 0.5382 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007842/0.3923, allocations: 175 kB / 0.5384 GB, free: 7.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007591/0.3931, allocations: 177 kB / 0.5385 GB, free: 7.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.3945, allocations: 384.4 kB / 0.5389 GB, free: 6.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3945, allocations: 4 kB / 0.5389 GB, free: 6.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00161/0.3961, allocations: 467.5 kB / 0.5394 GB, free: 6.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/0.3962, allocations: 58.41 kB / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3962, allocations: 0.75 kB / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3962, allocations: 5.016 kB / 0.5394 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.3967, allocations: 76.03 kB / 0.5395 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3967, allocations: 1.188 kB / 0.5395 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.3971, allocations: 62.97 kB / 0.5396 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3971, allocations: 3.531 kB / 0.5396 GB, free: 6.539 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.0001547/0.3973, allocations: 144.7 kB / 0.5397 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3973, allocations: 16.75 kB / 0.5397 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.399, allocations: 421.3 kB / 0.5401 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.399, allocations: 4.938 kB / 0.5401 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.399, allocations: 1.906 kB / 0.5401 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.399, allocations: 7.984 kB / 0.5401 GB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.4009, allocations: 0.7234 MB / 0.5408 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4009, allocations: 0 / 0.5408 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.4013, allocations: 76.22 kB / 0.5409 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4013, allocations: 1.156 kB / 0.5409 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.4013, allocations: 5.109 kB / 0.5409 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4013, allocations: 0 / 0.5409 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4013, allocations: 1.344 kB / 0.5409 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.4029, allocations: 496.7 kB / 0.5414 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.403, allocations: 98.03 kB / 0.5415 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.403, allocations: 9.656 kB / 0.5415 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.4035, allocations: 62.72 kB / 0.5415 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.4036, allocations: 49.81 kB / 0.5416 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.4036, allocations: 7.422 kB / 0.5416 GB, free: 5.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.4038, allocations: 186 kB / 0.5418 GB, free: 4.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4038, allocations: 0 / 0.5418 GB, free: 4.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.4041, allocations: 50.84 kB / 0.5418 GB, free: 4.949 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.002795/0.4069, allocations: 1.317 MB / 0.5431 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.4087, allocations: 476.8 kB / 0.5436 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4087, allocations: 4 kB / 0.5436 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007819/0.4095, allocations: 190.6 kB / 0.5438 GB, free: 3.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4099, allocations: 54.86 kB / 0.5438 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006255/0.4161, allocations: 2.879 MB / 0.5466 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.4164, allocations: 0.7397 MB / 0.5473 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.4166, allocations: 33.39 kB / 0.5474 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.4168, allocations: 55.5 kB / 0.5474 GB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.2e-07/0.4168, allocations: 0 / 0.5474 GB, free: 15.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.4406, allocations: 5.961 MB / 0.5532 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.078, allocations: 16.19 kB / 0.5533 GB, free: 10.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)