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.001651/0.001651, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, 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 trunk/package.mo): time 0.226/0.226, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 83.84 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3923, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004649/0.397, allocations: 1.863 MB / 0.5325 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3991, allocations: 1.039 MB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.3993, allocations: 0 / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.3997, allocations: 67.75 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.4003, allocations: 120.2 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.4011, allocations: 210.2 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.4016, allocations: 205.2 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.4018, allocations: 34.28 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.402, allocations: 82.77 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.4023, allocations: 108.6 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.4023, allocations: 12.59 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.4025, allocations: 39.14 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4026, allocations: 38.72 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.4027, allocations: 82.59 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.4032, allocations: 200.1 kB / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4032, allocations: 0 / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4032, allocations: 0 / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4032, allocations: 5.656 kB / 0.5346 GB, free: 10.33 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.001327/0.4045, allocations: 0.5875 MB / 0.5352 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4046, allocations: 9.625 kB / 0.5352 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.4047, allocations: 37.5 kB / 0.5353 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.4047, allocations: 17.09 kB / 0.5353 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.4051, allocations: 247.6 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4052, allocations: 7.062 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.4052, allocations: 9.438 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.4058, allocations: 144.5 kB / 0.5357 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4058, allocations: 0 / 0.5357 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.4058, allocations: 5.375 kB / 0.5357 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.4058, allocations: 5.375 kB / 0.5357 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.4066, allocations: 160.2 kB / 0.5358 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.4077, allocations: 437 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.4086, allocations: 195.6 kB / 0.5364 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.409, allocations: 92.89 kB / 0.5365 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.4091, allocations: 9.094 kB / 0.5365 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006668/0.4097, allocations: 171.8 kB / 0.5367 GB, free: 8.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.4097, allocations: 1.094 kB / 0.5367 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.004009/0.4138, allocations: 0.8313 MB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.4138, allocations: 65.66 kB / 0.5376 GB, free: 8.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.4142, allocations: 260.7 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.4142, allocations: 27.73 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4144, allocations: 124.5 kB / 0.538 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.4144, allocations: 37.72 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.4145, allocations: 37.52 kB / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4147, allocations: 336.8 kB / 0.5383 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007806/0.4155, allocations: 171.3 kB / 0.5385 GB, free: 7.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007416/0.4163, allocations: 172.5 kB / 0.5387 GB, free: 7.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.4177, allocations: 382.5 kB / 0.539 GB, free: 7.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4177, allocations: 4 kB / 0.539 GB, free: 7 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001652/0.4194, allocations: 469.6 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.4195, allocations: 67.55 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4195, allocations: 4 kB / 0.5396 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4195, allocations: 0 / 0.5396 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.4199, allocations: 68.44 kB / 0.5396 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.42, allocations: 1.125 kB / 0.5396 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.4204, allocations: 72.19 kB / 0.5397 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.4204, allocations: 10.86 kB / 0.5397 GB, free: 6.586 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.0001585/0.4206, allocations: 136.5 kB / 0.5398 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.4206, allocations: 20.48 kB / 0.5399 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.4223, allocations: 427.3 kB / 0.5403 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4223, allocations: 5.188 kB / 0.5403 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4223, allocations: 1.156 kB / 0.5403 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4223, allocations: 3.938 kB / 0.5403 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.4242, allocations: 0.7199 MB / 0.541 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4242, allocations: 9.203 kB / 0.541 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.4246, allocations: 67.41 kB / 0.541 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.4246, allocations: 0 / 0.541 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.4247, allocations: 6.156 kB / 0.5411 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4247, allocations: 0 / 0.5411 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4247, allocations: 5.062 kB / 0.5411 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.4263, allocations: 493.4 kB / 0.5415 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.4264, allocations: 105.1 kB / 0.5416 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.4264, allocations: 2.969 kB / 0.5416 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.4268, allocations: 69.55 kB / 0.5417 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.427, allocations: 45.34 kB / 0.5417 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.427, allocations: 3.281 kB / 0.5417 GB, free: 5.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.4272, allocations: 190.9 kB / 0.5419 GB, free: 5.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4272, allocations: 0 / 0.5419 GB, free: 5.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.4276, allocations: 46.52 kB / 0.542 GB, free: 5.004 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.003412/0.431, allocations: 1.316 MB / 0.5433 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.4327, allocations: 491.3 kB / 0.5437 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4327, allocations: 0 / 0.5437 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007739/0.4335, allocations: 190.3 kB / 0.5439 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.4339, allocations: 32.27 kB / 0.5439 GB, free: 3.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.4403, allocations: 2.904 MB / 0.5468 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.4407, allocations: 0.7241 MB / 0.5475 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.4409, allocations: 33.39 kB / 0.5475 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.4411, allocations: 59.48 kB / 0.5476 GB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4411, allocations: 0 / 0.5476 GB, free: 15.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.4705, allocations: 5.82 MB / 0.5533 GB, free: 10.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.781, allocations: 8.875 kB / 0.5533 GB, free: 10.21 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)