Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",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.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.43 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.13 MB / 344.4 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.002369/0.002369, allocations: 83.8 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3712, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003804/0.3751, allocations: 1.622 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3763, allocations: 0.5332 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.3764, allocations: 1.969 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.3767, allocations: 80.64 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.3771, allocations: 105.8 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.3775, allocations: 95.03 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3777, allocations: 83.84 kB / 0.5331 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3778, allocations: 17.72 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3779, allocations: 39.2 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3781, allocations: 56.75 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3781, allocations: 1.812 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3782, allocations: 45.86 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.3783, allocations: 27.55 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.3783, allocations: 32.8 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3786, allocations: 117.4 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3786, allocations: 0 / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3786, allocations: 1.375 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.3786, allocations: 0 / 0.5334 GB, free: 11.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006036/0.3792, allocations: 411.6 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3793, allocations: 9.625 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.3793, allocations: 30.75 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.3794, allocations: 14.34 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3796, allocations: 209.2 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3796, allocations: 5.75 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3797, allocations: 5.75 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3798, allocations: 55.36 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3799, allocations: 0 / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3799, allocations: 7.938 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3799, allocations: 1.375 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.38, allocations: 31.08 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.3804, allocations: 294.9 kB / 0.5344 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3806, allocations: 43.06 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.3806, allocations: 21.17 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3807, allocations: 0 / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3807, allocations: 35.94 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3807, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001009/0.3817, allocations: 225.6 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3818, allocations: 52.78 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.3821, allocations: 219.2 kB / 0.535 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3821, allocations: 25.7 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.3822, allocations: 111 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.3823, allocations: 34.55 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.3823, allocations: 19.03 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3825, allocations: 322.8 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.3826, allocations: 29.28 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.753e-05/0.3827, allocations: 27.48 kB / 0.5355 GB, free: 9.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3829, allocations: 63.45 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3829, allocations: 0 / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002242/0.3831, allocations: 95.75 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3831, allocations: 5.281 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3831, allocations: 1.125 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3832, allocations: 0 / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3833, allocations: 22.3 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3833, allocations: 5.25 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.3834, allocations: 14.58 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3834, allocations: 2.312 kB / 0.5357 GB, free: 9.125 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.0001273/0.3835, allocations: 127.7 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.3836, allocations: 13.53 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.3839, allocations: 128.7 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3839, allocations: 1.031 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.3839, allocations: 3.938 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3839, allocations: 5.031 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.3845, allocations: 398.8 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3845, allocations: 0 / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.3846, allocations: 26.11 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3846, allocations: 1.188 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3847, allocations: 1.25 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3847, allocations: 1.125 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3847, allocations: 5.25 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.385, allocations: 203.9 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.3851, allocations: 92.08 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3851, allocations: 1.031 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.3852, allocations: 11.55 kB / 0.5367 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.3852, allocations: 7.094 kB / 0.5367 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3852, allocations: 3.125 kB / 0.5367 GB, free: 8.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.3854, allocations: 166.6 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3854, allocations: 1.219 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3857, allocations: 21.11 kB / 0.5369 GB, free: 8.078 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002275/0.388, allocations: 1.086 MB / 0.538 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.3883, allocations: 62.31 kB / 0.538 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3883, allocations: 5.188 kB / 0.538 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.3884, allocations: 36.94 kB / 0.5381 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.3888, allocations: 19.16 kB / 0.5381 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.3913, allocations: 1.679 MB / 0.5397 GB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.3917, allocations: 0.7112 MB / 0.5404 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.126e-05/0.3918, allocations: 12.5 kB / 0.5404 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.3919, allocations: 33.39 kB / 0.5405 GB, free: 4.98 MB / 398.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3919, allocations: 4 kB / 0.5405 GB, free: 4.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.4188, allocations: 3.111 MB / 0.5435 GB, free: 3.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.624, allocations: 12.33 kB / 0.5435 GB, free: 3.285 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1)