Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 118.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 202 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, 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.234/0.234, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002266/0.002266, allocations: 79.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3832, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002952/0.3862, allocations: 1.671 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000997/0.3872, allocations: 0.5555 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.3873, allocations: 0 / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.3875, allocations: 69.52 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.3879, allocations: 110.5 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.3882, allocations: 133.8 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3884, allocations: 86.25 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3885, allocations: 20.47 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.3885, allocations: 44.33 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3887, allocations: 53.94 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.3887, allocations: 4.125 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3888, allocations: 56.92 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.3889, allocations: 21.3 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.3889, allocations: 43.11 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3891, allocations: 120.7 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3892, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3892, allocations: 4 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3892, allocations: 0 / 0.5335 GB, free: 11.18 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.0005618/0.3897, allocations: 438.7 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3898, allocations: 13.84 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.3898, allocations: 36.06 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/0.3899, allocations: 14.22 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3901, allocations: 204.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.3901, allocations: 1.406 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3901, allocations: 3.531 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3903, allocations: 66.73 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3903, allocations: 1.25 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3904, allocations: 7.938 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3904, allocations: 1.312 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3905, allocations: 34.75 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.3909, allocations: 317.3 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3912, allocations: 62.48 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.3913, allocations: 25.12 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3913, allocations: 1.125 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3913, allocations: 30.56 kB / 0.5347 GB, free: 9.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.046e-06/0.3913, allocations: 5.047 kB / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001454/0.3928, allocations: 418.3 kB / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.3928, allocations: 56.72 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.3931, allocations: 220.3 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3931, allocations: 27.08 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.3932, allocations: 115 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.3932, allocations: 35.81 kB / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.3933, allocations: 24.59 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3935, allocations: 323 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3936, allocations: 43.34 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.3937, allocations: 40.72 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.394, allocations: 103.7 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.394, allocations: 5.156 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000333/0.3944, allocations: 142.8 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3944, allocations: 5.312 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3944, allocations: 3.938 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3944, allocations: 8.953 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3945, allocations: 28.55 kB / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3946, allocations: 0 / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.3946, allocations: 14.61 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3947, allocations: 6.719 kB / 0.5363 GB, free: 8.785 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.0001187/0.3948, allocations: 129.7 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.3948, allocations: 13.81 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.3952, allocations: 167.4 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3953, allocations: 4.906 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3953, allocations: 1.375 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3953, allocations: 0 / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.396, allocations: 486.2 kB / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.396, allocations: 1.031 kB / 0.5371 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3961, allocations: 28.16 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3961, allocations: 2.312 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3962, allocations: 1.188 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3962, allocations: 1.781 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3962, allocations: 1.094 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.3966, allocations: 263.7 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.3966, allocations: 89.36 kB / 0.5374 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.3967, allocations: 2.125 kB / 0.5374 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3968, allocations: 13.86 kB / 0.5375 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.3968, allocations: 12.95 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3968, allocations: 3.656 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.397, allocations: 173.6 kB / 0.5376 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.397, allocations: 0 / 0.5376 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.3973, allocations: 25.62 kB / 0.5377 GB, free: 7.633 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.002265/0.3996, allocations: 1.149 MB / 0.5388 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.4, allocations: 110.2 kB / 0.5389 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4, allocations: 1.25 kB / 0.5389 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.4001, allocations: 58.38 kB / 0.5389 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.4005, allocations: 19.77 kB / 0.539 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.403, allocations: 1.888 MB / 0.5408 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.4034, allocations: 0.7157 MB / 0.5415 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.771e-05/0.4035, allocations: 22.12 kB / 0.5415 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.4036, allocations: 39.36 kB / 0.5416 GB, free: 4.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4036, allocations: 0 / 0.5416 GB, free: 4.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.4284, allocations: 3.499 MB / 0.545 GB, free: 2.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.559, allocations: 6.969 kB / 0.545 GB, free: 2.461 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1)