Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 122.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.001499/0.0015, allocations: 202 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.461/1.461, 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.2265/0.2265, 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.002225/0.002225, allocations: 71.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3204, allocations: 62.46 MB / 0.5306 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003794/0.3242, allocations: 2.037 MB / 0.5326 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.3268, allocations: 1.019 MB / 0.5336 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.3269, allocations: 1.969 kB / 0.5336 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.3276, allocations: 252.4 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007899/0.3284, allocations: 265.7 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3304, allocations: 492 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.331, allocations: 327.2 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.3312, allocations: 72.19 kB / 0.5349 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.3315, allocations: 139.6 kB / 0.5351 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.3319, allocations: 205.9 kB / 0.5353 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.3319, allocations: 11.56 kB / 0.5353 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3322, allocations: 71.41 kB / 0.5354 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3324, allocations: 92.33 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3326, allocations: 128.7 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.3333, allocations: 346.7 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3333, allocations: 3.938 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3333, allocations: 0 / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3333, allocations: 1.188 kB / 0.5359 GB, free: 9.43 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001277/0.3346, allocations: 0.6889 MB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.3347, allocations: 10.34 kB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.3347, allocations: 45.95 kB / 0.5366 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3349, allocations: 48.73 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.3354, allocations: 334.6 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3354, allocations: 8.5 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.3355, allocations: 15.7 kB / 0.537 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3357, allocations: 111.4 kB / 0.5371 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3358, allocations: 0 / 0.5371 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3358, allocations: 5.25 kB / 0.5371 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3358, allocations: 3.75 kB / 0.5371 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.336, allocations: 70.33 kB / 0.5372 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007978/0.3368, allocations: 0.5068 MB / 0.5377 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.337, allocations: 87.36 kB / 0.5378 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.803e-05/0.3371, allocations: 32.81 kB / 0.5378 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.3371, allocations: 7.266 kB / 0.5378 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3372, allocations: 39.69 kB / 0.5379 GB, free: 7.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.497e-06/0.3372, allocations: 4 kB / 0.5379 GB, free: 7.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001021/0.3382, allocations: 406.2 kB / 0.5382 GB, free: 7.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.3383, allocations: 53.59 kB / 0.5383 GB, free: 7.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007149/0.339, allocations: 0.5896 MB / 0.5389 GB, free: 7.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.339, allocations: 25.7 kB / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3392, allocations: 220.3 kB / 0.5391 GB, free: 6.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.3393, allocations: 58.58 kB / 0.5392 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.3393, allocations: 36.2 kB / 0.5392 GB, free: 6.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3395, allocations: 353 kB / 0.5395 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3396, allocations: 49.94 kB / 0.5396 GB, free: 6.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3398, allocations: 48.34 kB / 0.5396 GB, free: 6.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.34, allocations: 124.1 kB / 0.5397 GB, free: 6.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3401, allocations: 4 kB / 0.5398 GB, free: 6.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004077/0.3405, allocations: 204.9 kB / 0.5399 GB, free: 6.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3405, allocations: 5.625 kB / 0.54 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3405, allocations: 0 / 0.54 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3405, allocations: 0.9062 kB / 0.54 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.3407, allocations: 31.14 kB / 0.54 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3407, allocations: 8.984 kB / 0.54 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.3408, allocations: 9.406 kB / 0.54 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3408, allocations: 4.031 kB / 0.54 GB, free: 6.191 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 (17): * Single equations (assignments): 17 * 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.0002097/0.3411, allocations: 187.4 kB / 0.5402 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.3411, allocations: 42.28 kB / 0.5402 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.3417, allocations: 235 kB / 0.5404 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3417, allocations: 2.625 kB / 0.5404 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3417, allocations: 0 / 0.5404 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3417, allocations: 5.391 kB / 0.5405 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009158/0.3426, allocations: 0.6431 MB / 0.5411 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.3427, allocations: 5.094 kB / 0.5411 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3428, allocations: 45.69 kB / 0.5411 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3428, allocations: 1.031 kB / 0.5411 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3428, allocations: 2.25 kB / 0.5411 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3428, allocations: 5.219 kB / 0.5411 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3428, allocations: 0 / 0.5411 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3432, allocations: 298.5 kB / 0.5414 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3433, allocations: 122.9 kB / 0.5415 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3434, allocations: 5.062 kB / 0.5415 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3435, allocations: 8.969 kB / 0.5416 GB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.3435, allocations: 14.48 kB / 0.5416 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.3435, allocations: 8.234 kB / 0.5416 GB, free: 4.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004681/0.344, allocations: 440.8 kB / 0.542 GB, free: 4.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.344, allocations: 4 kB / 0.542 GB, free: 4.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.3444, allocations: 52.45 kB / 0.5421 GB, free: 4.699 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 (17): * Single equations (assignments): 17 * 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.003328/0.3477, allocations: 1.425 MB / 0.5434 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.3481, allocations: 132.2 kB / 0.5436 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3481, allocations: 1.062 kB / 0.5436 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3483, allocations: 75.06 kB / 0.5436 GB, free: 3.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.3489, allocations: 83.22 kB / 0.5437 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.3532, allocations: 3.18 MB / 0.5468 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.3537, allocations: 0.8143 MB / 0.5476 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.3539, allocations: 54.25 kB / 0.5477 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.354, allocations: 135.4 kB / 0.5478 GB, free: 15.84 MB / 414.1 MB Notification: Performance of SimCode: time 5.17e-06/0.3541, allocations: 0 / 0.5478 GB, free: 15.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.3846, allocations: 7.647 MB / 0.5553 GB, free: 8.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/8.989, allocations: 5.016 kB / 0.5553 GB, free: 8.293 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1)