Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 117.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.001305/0.001305, allocations: 199.8 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.463/1.463, allocations: 227.4 MB / 247 MB, free: 10.45 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.239/0.239, allocations: 46.12 MB / 344.4 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.00226/0.00226, allocations: 83.75 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3653, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003335/0.3687, allocations: 1.681 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.37, allocations: 0.5835 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.3702, allocations: 1.781 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.3706, allocations: 59 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.371, allocations: 93.47 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005568/0.3715, allocations: 183.1 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3718, allocations: 90.47 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3719, allocations: 21.84 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.831e-05/0.372, allocations: 48.27 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3722, allocations: 45.83 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.3722, allocations: 4.125 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.3724, allocations: 44.98 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.723e-05/0.3724, allocations: 29.53 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.3725, allocations: 38.56 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.3728, allocations: 120.5 kB / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3728, allocations: 0 / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3728, allocations: 5.375 kB / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3728, allocations: 0 / 0.5336 GB, free: 11.14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007376/0.3736, allocations: 436.9 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3736, allocations: 13.56 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.3737, allocations: 36.12 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3737, allocations: 14.38 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.374, allocations: 209.2 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.374, allocations: 3.125 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.3741, allocations: 11.12 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.3743, allocations: 72.72 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3743, allocations: 1.312 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3743, allocations: 0 / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3743, allocations: 1.312 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3745, allocations: 40.69 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.375, allocations: 337.8 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.3753, allocations: 56.11 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.907e-05/0.3754, allocations: 26.06 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3754, allocations: 1.219 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3754, allocations: 35.84 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.3754, allocations: 4 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001571/0.377, allocations: 430.6 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3771, allocations: 53.44 kB / 0.5353 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3773, allocations: 195.2 kB / 0.5355 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3773, allocations: 29.7 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.3774, allocations: 110.5 kB / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.3774, allocations: 39.38 kB / 0.5357 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3775, allocations: 26.7 kB / 0.5357 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3777, allocations: 327 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3778, allocations: 48.84 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3779, allocations: 52.83 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.3782, allocations: 127.6 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3783, allocations: 4 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000398/0.3787, allocations: 173.8 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3787, allocations: 5.531 kB / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3787, allocations: 0 / 0.5364 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3787, allocations: 9 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3789, allocations: 24.39 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3789, allocations: 0 / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.3789, allocations: 10.67 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.379, allocations: 11.34 kB / 0.5364 GB, free: 8.719 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 (11): * Single equations (assignments): 11 * 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.0001188/0.3791, allocations: 132.7 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.3791, allocations: 18.38 kB / 0.5366 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.3796, allocations: 199 kB / 0.5368 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3796, allocations: 5.062 kB / 0.5368 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3797, allocations: 1.125 kB / 0.5368 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3797, allocations: 0 / 0.5368 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.3804, allocations: 0.5031 MB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3805, allocations: 0 / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3806, allocations: 28.77 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3806, allocations: 2.125 kB / 0.5373 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3806, allocations: 5.203 kB / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3806, allocations: 1.219 kB / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3806, allocations: 4.906 kB / 0.5373 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.3811, allocations: 285.1 kB / 0.5376 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.3811, allocations: 89.48 kB / 0.5377 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3812, allocations: 5.5 kB / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3813, allocations: 15.36 kB / 0.5377 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.3813, allocations: 12.42 kB / 0.5377 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3814, allocations: 3 kB / 0.5377 GB, free: 7.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3815, allocations: 158 kB / 0.5379 GB, free: 7.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 0.5379 GB, free: 7.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3818, allocations: 23.06 kB / 0.5379 GB, free: 7.516 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002357/0.3842, allocations: 1.163 MB / 0.539 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.3846, allocations: 129.1 kB / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3846, allocations: 0 / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.3848, allocations: 71.45 kB / 0.5392 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.3852, allocations: 23.73 kB / 0.5392 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.3879, allocations: 1.938 MB / 0.5411 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3883, allocations: 0.717 MB / 0.5418 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.3884, allocations: 31.09 kB / 0.5418 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.3885, allocations: 43.91 kB / 0.5419 GB, free: 4.164 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3885, allocations: 0 / 0.5419 GB, free: 4.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.4151, allocations: 3.544 MB / 0.5454 GB, free: 2.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.563, allocations: 9.844 kB / 0.5454 GB, free: 2.266 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1)