Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001351, allocations: 117.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 200.7 kB / 18.74 MB, free: 4.309 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.41 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.2373/0.2373, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.0023/0.0023, allocations: 79.86 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3914, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003202/0.3947, allocations: 1.623 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.3965, allocations: 1.156 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.3966, allocations: 1.656 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3969, allocations: 24.59 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.3972, allocations: 82.56 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.3975, allocations: 98.47 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3976, allocations: 73.77 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3978, allocations: 17.55 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.3978, allocations: 23.17 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.398, allocations: 43.58 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.398, allocations: 8.781 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.3982, allocations: 100.1 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.3983, allocations: 12.06 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.3983, allocations: 33.3 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.3986, allocations: 152.7 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3986, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3987, allocations: 1.375 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3987, allocations: 0 / 0.534 GB, free: 10.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006037/0.3993, allocations: 414.1 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3993, allocations: 9.625 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.3994, allocations: 40.12 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3994, allocations: 9.016 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3997, allocations: 201.8 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3997, allocations: 3.125 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3997, allocations: 1.75 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3999, allocations: 77.19 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3999, allocations: 5.312 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3999, allocations: 7.984 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4, allocations: 5.375 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.4001, allocations: 29.84 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.4005, allocations: 298.8 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.4006, allocations: 51.17 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.4007, allocations: 18.61 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.4007, allocations: 4 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4008, allocations: 35.92 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.496e-06/0.4008, allocations: 0 / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006913/0.4015, allocations: 174.6 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.4015, allocations: 86.41 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.4018, allocations: 171.2 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4018, allocations: 25.7 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.4019, allocations: 96.25 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.4019, allocations: 26.5 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.402, allocations: 24.58 kB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4022, allocations: 317.6 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.4023, allocations: 25.59 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.122e-05/0.4023, allocations: 42.8 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.4025, allocations: 59.95 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4025, allocations: 0 / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002549/0.4028, allocations: 107.6 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4028, allocations: 5.031 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4028, allocations: 8.938 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4029, allocations: 0 / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.403, allocations: 22.83 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.403, allocations: 8 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.4031, allocations: 3.938 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4031, allocations: 2.531 kB / 0.5363 GB, free: 8.582 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 (8): * Single equations (assignments): 8 * 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.0001171/0.4032, allocations: 118.9 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.4032, allocations: 7.109 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.4036, allocations: 122.7 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4036, allocations: 1.156 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4036, allocations: 3.938 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4036, allocations: 1.156 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.4041, allocations: 383 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4042, allocations: 1.156 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.4042, allocations: 25.55 kB / 0.5369 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4043, allocations: 3.938 kB / 0.5369 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.4043, allocations: 6.188 kB / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4043, allocations: 0 / 0.5369 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4043, allocations: 3.938 kB / 0.5369 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.4046, allocations: 191.5 kB / 0.5371 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.4047, allocations: 87.34 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.4047, allocations: 9.172 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.4048, allocations: 7.406 kB / 0.5372 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.4048, allocations: 6.297 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.4048, allocations: 2.312 kB / 0.5372 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.4049, allocations: 112.6 kB / 0.5373 GB, free: 7.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.405, allocations: 4.781 kB / 0.5373 GB, free: 7.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.4053, allocations: 46.61 kB / 0.5374 GB, free: 7.582 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 (8): * Single equations (assignments): 8 * 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.002366/0.4077, allocations: 1.12 MB / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.408, allocations: 66.39 kB / 0.5385 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.408, allocations: 1.281 kB / 0.5385 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.4081, allocations: 33.44 kB / 0.5386 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.4085, allocations: 23.09 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.4104, allocations: 1.514 MB / 0.5401 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4108, allocations: 0.6921 MB / 0.5408 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.4109, allocations: 22.38 kB / 0.5408 GB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.411, allocations: 32.17 kB / 0.5408 GB, free: 4.562 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.411, allocations: 4 kB / 0.5408 GB, free: 4.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05026/0.4612, allocations: 3.411 MB / 0.5441 GB, free: 2.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.601, allocations: 7.094 kB / 0.5441 GB, free: 2.625 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1)