Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, 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.001471/0.001471, allocations: 200.6 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.445/1.445, 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.237/0.237, 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.002297/0.002297, allocations: 79.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3696, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003169/0.3728, allocations: 1.618 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.374, allocations: 0.5666 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.374, allocations: 1.812 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.3746, allocations: 447.5 kB / 0.5332 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.3751, allocations: 297 kB / 0.5335 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.3756, allocations: 172.7 kB / 0.5336 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.3759, allocations: 172.9 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.376, allocations: 15.55 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3761, allocations: 106.3 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.3764, allocations: 215.6 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3764, allocations: 4.125 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-05/0.3765, allocations: 23.12 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3766, allocations: 83.56 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3768, allocations: 114 kB / 0.5343 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.3771, allocations: 257 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3771, allocations: 0 / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3771, allocations: 0 / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.3772, allocations: 1.156 kB / 0.5346 GB, free: 10.72 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008885/0.3781, allocations: 0.661 MB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3781, allocations: 10.12 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.3782, allocations: 35.8 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.3782, allocations: 43.41 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.3786, allocations: 304 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3786, allocations: 9.625 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.3786, allocations: 6.812 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3788, allocations: 55.98 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3788, allocations: 4 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3788, allocations: 0 / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3789, allocations: 1.156 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.379, allocations: 39.95 kB / 0.5357 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.3796, allocations: 395.3 kB / 0.5361 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3797, allocations: 54.33 kB / 0.5361 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.3798, allocations: 32.17 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.3798, allocations: 5.172 kB / 0.5362 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3799, allocations: 31.69 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3799, allocations: 0 / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003836/0.3803, allocations: 129.7 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.3803, allocations: 60.41 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.3813, allocations: 0.8723 MB / 0.5372 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3813, allocations: 25.7 kB / 0.5373 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.3815, allocations: 212.8 kB / 0.5375 GB, free: 8.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3816, allocations: 17.02 kB / 0.5375 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.3816, allocations: 13.5 kB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3818, allocations: 363.5 kB / 0.5378 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.3819, allocations: 22.45 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.382, allocations: 18.16 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3821, allocations: 43.39 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3821, allocations: 1.219 kB / 0.5379 GB, free: 7.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002276/0.3823, allocations: 116 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3824, allocations: 5.469 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3824, allocations: 4 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3824, allocations: 1.031 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.3825, allocations: 10.52 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3825, allocations: 5.141 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.3826, allocations: 3.281 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3826, allocations: 1.156 kB / 0.5381 GB, free: 7.879 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 (3): * Single equations (assignments): 3 * 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.0002102/0.3828, allocations: 217.8 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.3829, allocations: 42.22 kB / 0.5383 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.3832, allocations: 128.5 kB / 0.5384 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3832, allocations: 3.938 kB / 0.5384 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3832, allocations: 0 / 0.5384 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3832, allocations: 5.188 kB / 0.5384 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.3836, allocations: 302.6 kB / 0.5387 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3836, allocations: 0 / 0.5387 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.3836, allocations: 7.5 kB / 0.5387 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3836, allocations: 0 / 0.5387 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3837, allocations: 5.297 kB / 0.5387 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3837, allocations: 4 kB / 0.5387 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3837, allocations: 1.438 kB / 0.5388 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.3839, allocations: 210.9 kB / 0.539 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.384, allocations: 110.6 kB / 0.5391 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3841, allocations: 1.594 kB / 0.5391 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.3842, allocations: 11.08 kB / 0.5391 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.3842, allocations: 9.406 kB / 0.5391 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3842, allocations: 5.531 kB / 0.5391 GB, free: 7.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000671/0.3849, allocations: 0.6575 MB / 0.5397 GB, free: 6.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.033e-06/0.3849, allocations: 1.094 kB / 0.5397 GB, free: 6.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.3852, allocations: 23.88 kB / 0.5397 GB, free: 6.684 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 (3): * Single equations (assignments): 3 * 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.001729/0.3869, allocations: 0.9827 MB / 0.5407 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3871, allocations: 37.69 kB / 0.5407 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3872, allocations: 7.938 kB / 0.5408 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.3872, allocations: 29.97 kB / 0.5408 GB, free: 5.844 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3877, allocations: 24.28 kB / 0.5408 GB, free: 5.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.3918, allocations: 3.215 MB / 0.5439 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.3923, allocations: 0.8307 MB / 0.5448 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.271e-05/0.3924, allocations: 15.73 kB / 0.5448 GB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.3926, allocations: 111.4 kB / 0.5449 GB, free: 2.793 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3926, allocations: 0 / 0.5449 GB, free: 2.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.4229, allocations: 5.83 MB / 0.5506 GB, free: 13.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.629/9.052, allocations: 5.969 kB / 0.5506 GB, free: 13.05 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1)