Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 205.2 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.547/1.547, allocations: 227.4 MB / 247 MB, free: 10.42 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.2243/0.2243, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002206/0.002206, allocations: 79.86 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3305, allocations: 62.44 MB / 0.5306 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002944/0.3335, allocations: 1.595 MB / 0.5322 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3346, allocations: 0.5619 MB / 0.5327 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.3347, allocations: 9.062 kB / 0.5327 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.3349, allocations: 25.27 kB / 0.5328 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3352, allocations: 71.75 kB / 0.5328 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.3355, allocations: 118.8 kB / 0.5329 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.3357, allocations: 67.58 kB / 0.533 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3358, allocations: 19.48 kB / 0.533 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.3359, allocations: 30.19 kB / 0.5331 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.336, allocations: 34.59 kB / 0.5331 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.336, allocations: 3.688 kB / 0.5331 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.3362, allocations: 96.97 kB / 0.5332 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.3363, allocations: 18.62 kB / 0.5332 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.3363, allocations: 21.22 kB / 0.5332 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.3367, allocations: 145.8 kB / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3367, allocations: 0 / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3367, allocations: 0 / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.3367, allocations: 5.375 kB / 0.5334 GB, free: 11.51 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.0005996/0.3373, allocations: 416.8 kB / 0.5338 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3373, allocations: 9.625 kB / 0.5338 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.3374, allocations: 30.75 kB / 0.5338 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.3374, allocations: 9.016 kB / 0.5338 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3377, allocations: 200 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3377, allocations: 1.75 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3377, allocations: 1.75 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.3379, allocations: 73.08 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3379, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3379, allocations: 5.312 kB / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3379, allocations: 0 / 0.5341 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.338, allocations: 21.73 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.3385, allocations: 296.3 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3387, allocations: 53.8 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.3387, allocations: 23.94 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3388, allocations: 1.375 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.3388, allocations: 31.94 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3388, allocations: 0 / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006624/0.3395, allocations: 190.4 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.3396, allocations: 78.48 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3398, allocations: 150.4 kB / 0.5349 GB, free: 9.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.3398, allocations: 29.7 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.34, allocations: 100.2 kB / 0.535 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.34, allocations: 18.55 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.34, allocations: 24.58 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002371/0.3403, allocations: 324.2 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.3404, allocations: 32.47 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3405, allocations: 46.31 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.3407, allocations: 63.61 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3407, allocations: 1.469 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002423/0.3409, allocations: 114.8 kB / 0.5356 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.341, allocations: 12.78 kB / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.341, allocations: 0 / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.341, allocations: 0 / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3411, allocations: 22.23 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3411, allocations: 4 kB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.3412, allocations: 12.72 kB / 0.5357 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3412, allocations: 0.9375 kB / 0.5357 GB, free: 9.316 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.0002424/0.3414, allocations: 122.7 kB / 0.5358 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.3415, allocations: 8.047 kB / 0.5358 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.3418, allocations: 117 kB / 0.5359 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3418, allocations: 1.125 kB / 0.5359 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3418, allocations: 0 / 0.5359 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.3418, allocations: 5.156 kB / 0.5359 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.3425, allocations: 401.6 kB / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3425, allocations: 288 / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-05/0.3425, allocations: 16.27 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3426, allocations: 4.812 kB / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.3426, allocations: 1.094 kB / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3426, allocations: 0 / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3426, allocations: 1.125 kB / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3429, allocations: 202.6 kB / 0.5365 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.343, allocations: 82.19 kB / 0.5366 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.343, allocations: 9.109 kB / 0.5366 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.3431, allocations: 7.906 kB / 0.5366 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.3432, allocations: 2.188 kB / 0.5366 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.3432, allocations: 10.2 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3433, allocations: 110.8 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3433, allocations: 0 / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.3436, allocations: 46.17 kB / 0.5368 GB, free: 8.309 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 (7): * Single equations (assignments): 7 * 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.002258/0.3459, allocations: 1.123 MB / 0.5379 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3462, allocations: 76.81 kB / 0.5379 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3462, allocations: 1.25 kB / 0.5379 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.3463, allocations: 40.62 kB / 0.538 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3467, allocations: 21.66 kB / 0.538 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3486, allocations: 1.534 MB / 0.5395 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3489, allocations: 0.6961 MB / 0.5402 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.754e-05/0.349, allocations: 30.47 kB / 0.5402 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.3491, allocations: 26.77 kB / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3491, allocations: 0 / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.3898, allocations: 3.508 MB / 0.5436 GB, free: 3.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.548, allocations: 14.2 kB / 0.5437 GB, free: 3.289 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1)