Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001302, 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.464/1.464, 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.2256/0.2256, allocations: 46.13 MB / 344.3 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.002278/0.002278, allocations: 79.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3338, allocations: 62.44 MB / 0.5306 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003085/0.3369, allocations: 1.601 MB / 0.5322 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009989/0.338, allocations: 0.5278 MB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.338, allocations: 5.125 kB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3383, allocations: 27.86 kB / 0.5327 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.3386, allocations: 73.83 kB / 0.5328 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.3388, allocations: 93.45 kB / 0.5329 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.339, allocations: 67.02 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.145e-05/0.3391, allocations: 13.33 kB / 0.533 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.3392, allocations: 24.83 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.3392, allocations: 17.25 kB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3392, allocations: 3.562 kB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.3393, allocations: 40.44 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.3394, allocations: 17.08 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.3394, allocations: 24.72 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.3396, allocations: 90.89 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3397, allocations: 3.938 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3397, allocations: 0 / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3397, allocations: 0 / 0.5332 GB, free: 11.29 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.0005326/0.3402, allocations: 393.1 kB / 0.5336 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.3403, allocations: 10.12 kB / 0.5336 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.3403, allocations: 32.12 kB / 0.5336 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.3404, allocations: 12.97 kB / 0.5336 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3406, allocations: 195.5 kB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3406, allocations: 8.125 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.3406, allocations: 6.688 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3408, allocations: 47.31 kB / 0.5339 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3408, allocations: 1.375 kB / 0.5339 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.3408, allocations: 0 / 0.5339 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3408, allocations: 1.375 kB / 0.5339 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/0.3409, allocations: 24.34 kB / 0.5339 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.3413, allocations: 280.1 kB / 0.5341 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3415, allocations: 44.38 kB / 0.5342 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.3416, allocations: 23.8 kB / 0.5342 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3416, allocations: 0 / 0.5342 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3417, allocations: 31.94 kB / 0.5342 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3417, allocations: 0 / 0.5342 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000564/0.3422, allocations: 145.9 kB / 0.5344 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3423, allocations: 56.78 kB / 0.5344 GB, free: 9.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.3425, allocations: 190.8 kB / 0.5346 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3425, allocations: 25.7 kB / 0.5346 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.3426, allocations: 100.2 kB / 0.5347 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3427, allocations: 14.64 kB / 0.5347 GB, free: 9.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.3427, allocations: 21.84 kB / 0.5348 GB, free: 9.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3429, allocations: 321.6 kB / 0.5351 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.343, allocations: 17.61 kB / 0.5351 GB, free: 9.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.343, allocations: 18.98 kB / 0.5351 GB, free: 9.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3432, allocations: 52.33 kB / 0.5352 GB, free: 9.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3432, allocations: 0 / 0.5352 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001925/0.3434, allocations: 85.2 kB / 0.5352 GB, free: 9.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3434, allocations: 5.5 kB / 0.5352 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3434, allocations: 0 / 0.5352 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3434, allocations: 1.375 kB / 0.5352 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.3435, allocations: 13.61 kB / 0.5353 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3435, allocations: 7.922 kB / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.3436, allocations: 8.125 kB / 0.5353 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3436, allocations: 1.375 kB / 0.5353 GB, free: 9.23 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.000105/0.3437, allocations: 128.6 kB / 0.5354 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.3437, allocations: 8.078 kB / 0.5354 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.344, allocations: 89.28 kB / 0.5355 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.344, allocations: 1.375 kB / 0.5355 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.344, allocations: 3.938 kB / 0.5355 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.344, allocations: 1.281 kB / 0.5355 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.3446, allocations: 348.9 kB / 0.5358 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3446, allocations: 0 / 0.5358 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.3447, allocations: 13.11 kB / 0.5358 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3447, allocations: 5.219 kB / 0.5359 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3447, allocations: 4 kB / 0.5359 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.3447, allocations: 1.5 kB / 0.5359 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3447, allocations: 0 / 0.5359 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.345, allocations: 184.4 kB / 0.536 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.3451, allocations: 87.83 kB / 0.5361 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3451, allocations: 3.938 kB / 0.5361 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.3452, allocations: 6.594 kB / 0.5361 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.3452, allocations: 6.172 kB / 0.5361 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3452, allocations: 2.438 kB / 0.5361 GB, free: 8.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3453, allocations: 135.6 kB / 0.5363 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3453, allocations: 5.25 kB / 0.5363 GB, free: 8.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3456, allocations: 17.97 kB / 0.5363 GB, free: 8.281 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.001977/0.3476, allocations: 1.012 MB / 0.5373 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3478, allocations: 51.94 kB / 0.5373 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3478, allocations: 0 / 0.5373 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.3479, allocations: 23.92 kB / 0.5373 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.3483, allocations: 14.92 kB / 0.5374 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.3504, allocations: 1.493 MB / 0.5388 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.3508, allocations: 0.7018 MB / 0.5395 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.3508, allocations: 9.312 kB / 0.5395 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.3509, allocations: 32.42 kB / 0.5395 GB, free: 5.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3509, allocations: 0 / 0.5395 GB, free: 5.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.3749, allocations: 2.659 MB / 0.5421 GB, free: 3.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.14/8.515, allocations: 16 kB / 0.5422 GB, free: 3.852 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1)