Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 203.9 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.479/1.479, 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 4.1.0-beta.om/package.mo): time 0.2258/0.2258, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.002316/0.002316, allocations: 83.86 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3164, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003475/0.32, allocations: 1.953 MB / 0.5325 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.3219, allocations: 1.081 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.3221, allocations: 1.375 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.3226, allocations: 257.4 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.3232, allocations: 261.9 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.3247, allocations: 0.6511 MB / 0.5347 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.3251, allocations: 313.7 kB / 0.535 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.3253, allocations: 58.45 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3255, allocations: 131.2 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3258, allocations: 203.6 kB / 0.5354 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.3258, allocations: 7.938 kB / 0.5354 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3259, allocations: 49.98 kB / 0.5354 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3261, allocations: 96.02 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3262, allocations: 123.4 kB / 0.5356 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3266, allocations: 311.5 kB / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3266, allocations: 0 / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3266, allocations: 0 / 0.5359 GB, free: 9.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3266, allocations: 5.344 kB / 0.5359 GB, free: 9.555 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008737/0.3275, allocations: 0.6811 MB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3275, allocations: 10.28 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.3276, allocations: 36.84 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.3277, allocations: 46.86 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.3281, allocations: 347.5 kB / 0.537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3281, allocations: 7.5 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.3282, allocations: 4.906 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.3284, allocations: 101.4 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3284, allocations: 4.656 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3284, allocations: 4.75 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3284, allocations: 1.562 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.3286, allocations: 75.03 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.3295, allocations: 475 kB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3296, allocations: 78.69 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.3297, allocations: 32.06 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3298, allocations: 2.156 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.3298, allocations: 35.95 kB / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3298, allocations: 0 / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003991/0.3302, allocations: 160.9 kB / 0.538 GB, free: 7.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3303, allocations: 60.53 kB / 0.538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/0.331, allocations: 0.5983 MB / 0.5386 GB, free: 7.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.331, allocations: 25.7 kB / 0.5386 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3312, allocations: 207.5 kB / 0.5388 GB, free: 7.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.3313, allocations: 29.98 kB / 0.5389 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3313, allocations: 19.47 kB / 0.5389 GB, free: 7.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3315, allocations: 355.5 kB / 0.5392 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.3316, allocations: 29.72 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.3317, allocations: 22.61 kB / 0.5393 GB, free: 6.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3318, allocations: 66.08 kB / 0.5393 GB, free: 6.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3318, allocations: 0 / 0.5393 GB, free: 6.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002446/0.3321, allocations: 131 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3321, allocations: 9.812 kB / 0.5395 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3321, allocations: 4.438 kB / 0.5395 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3321, allocations: 3.938 kB / 0.5395 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.3322, allocations: 14.36 kB / 0.5395 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.3322, allocations: 1.25 kB / 0.5395 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.3323, allocations: 7.094 kB / 0.5395 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.3323, allocations: 2.281 kB / 0.5395 GB, free: 6.617 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 (6): * Single equations (assignments): 6 * 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.0001696/0.3325, allocations: 173.3 kB / 0.5397 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.3326, allocations: 41.62 kB / 0.5397 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.3329, allocations: 165.9 kB / 0.5399 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.3329, allocations: 9.25 kB / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3329, allocations: 0 / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3329, allocations: 3.938 kB / 0.5399 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.3333, allocations: 307 kB / 0.5402 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3333, allocations: 1.656 kB / 0.5402 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.3334, allocations: 12.83 kB / 0.5402 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3334, allocations: 1.594 kB / 0.5402 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3334, allocations: 0 / 0.5402 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3334, allocations: 5.375 kB / 0.5402 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3334, allocations: 4 kB / 0.5402 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3337, allocations: 226.9 kB / 0.5404 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.3338, allocations: 118 kB / 0.5405 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.3339, allocations: 1.156 kB / 0.5405 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.334, allocations: 7.375 kB / 0.5405 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.334, allocations: 14.3 kB / 0.5405 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.334, allocations: 2.188 kB / 0.5405 GB, free: 5.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004842/0.3345, allocations: 452 kB / 0.541 GB, free: 5.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3345, allocations: 0 / 0.541 GB, free: 5.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.3348, allocations: 38.23 kB / 0.541 GB, free: 5.465 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 (6): * Single equations (assignments): 6 * 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.002826/0.3376, allocations: 1.25 MB / 0.5422 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3378, allocations: 64.55 kB / 0.5423 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3379, allocations: 5.219 kB / 0.5423 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.3379, allocations: 27.73 kB / 0.5423 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.3385, allocations: 74.48 kB / 0.5424 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.3424, allocations: 2.97 MB / 0.5453 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.3429, allocations: 0.8168 MB / 0.5461 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000175/0.3431, allocations: 45.91 kB / 0.5461 GB, free: 1.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3433, allocations: 119.4 kB / 0.5463 GB, free: 1.496 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3433, allocations: 0 / 0.5463 GB, free: 1.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.3741, allocations: 7.001 MB / 0.5531 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/8.841, allocations: 14.84 kB / 0.5531 GB, free: 10.59 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1)