Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 118.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.001333/0.001333, allocations: 197.2 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.535/1.535, 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.2269/0.2269, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002357/0.002357, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3614, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.00347/0.3649, allocations: 1.601 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.367, allocations: 1.153 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.367, allocations: 1.656 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.3673, allocations: 29.34 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.3676, allocations: 76.53 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3679, allocations: 94.94 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.368, allocations: 65.95 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.3682, allocations: 14.88 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.3682, allocations: 29.47 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3684, allocations: 30.86 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3684, allocations: 8.062 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.3686, allocations: 98.73 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.3687, allocations: 20.03 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.3687, allocations: 24 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.369, allocations: 138.1 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.369, allocations: 7.938 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.369, allocations: 1.375 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.369, allocations: 0 / 0.5339 GB, free: 10.82 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.0005358/0.3695, allocations: 403.5 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3696, allocations: 9.625 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.3696, allocations: 30.75 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.3697, allocations: 9.016 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3699, allocations: 196.8 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3699, allocations: 4.375 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3699, allocations: 7.125 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3701, allocations: 67.64 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3701, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3701, allocations: 5.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3701, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.3702, allocations: 21.67 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3706, allocations: 282.8 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3708, allocations: 44 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.3709, allocations: 19.47 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3709, allocations: 3.984 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3709, allocations: 31.84 kB / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3709, allocations: 0 / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005524/0.3715, allocations: 142.4 kB / 0.5351 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3716, allocations: 77.11 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.3718, allocations: 145.8 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3718, allocations: 31.14 kB / 0.5354 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.3719, allocations: 91.48 kB / 0.5355 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.3719, allocations: 21.06 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.3719, allocations: 22.97 kB / 0.5355 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3721, allocations: 324.3 kB / 0.5358 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.3722, allocations: 14.48 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.3723, allocations: 30.73 kB / 0.5359 GB, free: 8.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3724, allocations: 52.02 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3724, allocations: 9.281 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001877/0.3726, allocations: 75.81 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3726, allocations: 5.906 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3726, allocations: 0 / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3726, allocations: 0 / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.3727, allocations: 17.61 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3727, allocations: 1.094 kB / 0.536 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.3728, allocations: 11.22 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3728, allocations: 5.125 kB / 0.536 GB, free: 8.715 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 (5): * Single equations (assignments): 5 * 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 9.457e-05/0.3729, allocations: 118.3 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3729, allocations: 7.484 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.3732, allocations: 88.62 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3732, allocations: 1.125 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3732, allocations: 1.188 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3732, allocations: 3.938 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.3737, allocations: 354.4 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3737, allocations: 0 / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.3738, allocations: 17.36 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3738, allocations: 1 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3738, allocations: 8.969 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3738, allocations: 0 / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3738, allocations: 1.156 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.374, allocations: 179.7 kB / 0.5368 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.3741, allocations: 82.53 kB / 0.5369 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3741, allocations: 9 kB / 0.5369 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.3742, allocations: 8.078 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.3743, allocations: 1.219 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3743, allocations: 2.406 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.3744, allocations: 120.4 kB / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3744, allocations: 4 kB / 0.537 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3747, allocations: 39.7 kB / 0.537 GB, free: 7.758 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 (5): * Single equations (assignments): 5 * 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.002157/0.3768, allocations: 1.091 MB / 0.5381 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3771, allocations: 56.47 kB / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3771, allocations: 0 / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.3772, allocations: 24.05 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.3775, allocations: 22.86 kB / 0.5382 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.3792, allocations: 1.428 MB / 0.5396 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3796, allocations: 0.6935 MB / 0.5403 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.187e-05/0.3797, allocations: 19.19 kB / 0.5403 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.3798, allocations: 30.36 kB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3798, allocations: 0 / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.4079, allocations: 3.221 MB / 0.5435 GB, free: 2.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.711, allocations: 14.39 kB / 0.5435 GB, free: 2.953 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1)