Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.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.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 199.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.5/1.5, allocations: 227.4 MB / 247 MB, free: 10.4 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.2413/0.2413, allocations: 46.11 MB / 344.3 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.002339/0.00234, allocations: 79.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3769, allocations: 62.44 MB / 0.5306 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.003458/0.3804, allocations: 1.606 MB / 0.5322 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3824, allocations: 1.157 MB / 0.5333 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.3824, allocations: 0 / 0.5333 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.3827, allocations: 33.19 kB / 0.5334 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.3831, allocations: 80.42 kB / 0.5334 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3834, allocations: 115.7 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.3836, allocations: 65.23 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3837, allocations: 20.17 kB / 0.5336 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.3838, allocations: 25.48 kB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3839, allocations: 34.84 kB / 0.5337 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.384, allocations: 4.125 kB / 0.5337 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.3842, allocations: 94.75 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.3842, allocations: 24.03 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.3843, allocations: 20 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.3846, allocations: 147.4 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3846, allocations: 3.938 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3846, allocations: 0 / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3846, allocations: 1.375 kB / 0.534 GB, free: 10.64 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.0005976/0.3852, allocations: 399.6 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3852, allocations: 9.625 kB / 0.5344 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.3853, allocations: 32.12 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3853, allocations: 11.64 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3856, allocations: 193.8 kB / 0.5346 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3856, allocations: 1.75 kB / 0.5346 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3856, allocations: 5.75 kB / 0.5346 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3858, allocations: 67.64 kB / 0.5346 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3858, allocations: 1.375 kB / 0.5347 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3859, allocations: 7.984 kB / 0.5347 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3859, allocations: 5.312 kB / 0.5347 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.386, allocations: 29.72 kB / 0.5347 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.3864, allocations: 280.3 kB / 0.535 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.3866, allocations: 44.38 kB / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.3867, allocations: 19.81 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3867, allocations: 1.375 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3867, allocations: 35.94 kB / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3867, allocations: 0 / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000602/0.3873, allocations: 150 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.3874, allocations: 78.48 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3876, allocations: 144.8 kB / 0.5354 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3876, allocations: 29.7 kB / 0.5354 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.3877, allocations: 99.03 kB / 0.5355 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.3877, allocations: 22.28 kB / 0.5356 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.3877, allocations: 18.91 kB / 0.5356 GB, free: 8.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3879, allocations: 321.1 kB / 0.5359 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.388, allocations: 20.02 kB / 0.5359 GB, free: 8.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.3881, allocations: 43.91 kB / 0.5359 GB, free: 8.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3882, allocations: 60.23 kB / 0.536 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3882, allocations: 0 / 0.536 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.3885, allocations: 82.83 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3885, allocations: 5.25 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3885, allocations: 3.938 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3885, allocations: 1.25 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.3886, allocations: 12.94 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3886, allocations: 1.281 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.3887, allocations: 15.36 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3887, allocations: 1.25 kB / 0.5361 GB, free: 8.52 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 0.0001012/0.3888, allocations: 113.8 kB / 0.5362 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.3888, allocations: 8.297 kB / 0.5362 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.3891, allocations: 104 kB / 0.5363 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3891, allocations: 5.125 kB / 0.5363 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3891, allocations: 0 / 0.5363 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3891, allocations: 5.156 kB / 0.5363 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.3897, allocations: 354.4 kB / 0.5367 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3897, allocations: 5.062 kB / 0.5367 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.3898, allocations: 13.08 kB / 0.5367 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3898, allocations: 1.125 kB / 0.5367 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3898, allocations: 7.938 kB / 0.5367 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3898, allocations: 5.344 kB / 0.5367 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3898, allocations: 4 kB / 0.5367 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3901, allocations: 179.5 kB / 0.5369 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3902, allocations: 82.19 kB / 0.537 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3902, allocations: 5.094 kB / 0.537 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.3903, allocations: 11.52 kB / 0.537 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.3903, allocations: 6.281 kB / 0.537 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3903, allocations: 1.156 kB / 0.537 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.3904, allocations: 120.5 kB / 0.5371 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3904, allocations: 1 kB / 0.5371 GB, free: 7.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3907, allocations: 40.14 kB / 0.5371 GB, free: 7.551 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.002137/0.3929, allocations: 1.096 MB / 0.5382 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3931, allocations: 59.64 kB / 0.5383 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3931, allocations: 0 / 0.5383 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.3932, allocations: 28.89 kB / 0.5383 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3936, allocations: 21.08 kB / 0.5383 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.3956, allocations: 1.447 MB / 0.5397 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3959, allocations: 0.694 MB / 0.5404 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.883e-05/0.396, allocations: 30.97 kB / 0.5404 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.3961, allocations: 30.44 kB / 0.5405 GB, free: 4.574 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3961, allocations: 0 / 0.5405 GB, free: 4.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.4239, allocations: 3.248 MB / 0.5436 GB, free: 2.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.411, allocations: 6.969 kB / 0.5436 GB, free: 2.719 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1)