Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",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.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247 MB, free: 10.39 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.2321/0.2321, allocations: 46.11 MB / 344.3 MB, free: 11.44 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.002475/0.002475, allocations: 79.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3244, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003049/0.3275, allocations: 1.656 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.3285, allocations: 0.5566 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.3286, allocations: 0 / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.3291, allocations: 452.9 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.3296, allocations: 292.8 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.3299, allocations: 126.1 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.3302, allocations: 177.9 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.3303, allocations: 18.94 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3304, allocations: 107.1 kB / 0.5339 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.3307, allocations: 218.9 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3307, allocations: 8.125 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.3308, allocations: 37.97 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.3309, allocations: 82.19 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/0.331, allocations: 103.5 kB / 0.5343 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.3313, allocations: 266.6 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3313, allocations: 0 / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3314, allocations: 0 / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3314, allocations: 1.125 kB / 0.5346 GB, free: 10.69 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.0008262/0.3322, allocations: 0.6777 MB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3323, allocations: 13.59 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.3323, allocations: 31.88 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.3324, allocations: 43.41 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3327, allocations: 303.5 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3327, allocations: 6.938 kB / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.3327, allocations: 5.516 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3329, allocations: 57.42 kB / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3329, allocations: 0 / 0.5357 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.333, allocations: 5.062 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.333, allocations: 4.938 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3331, allocations: 40.12 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.3337, allocations: 396.2 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3338, allocations: 43.92 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.3339, allocations: 28.22 kB / 0.5362 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3339, allocations: 3.938 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.334, allocations: 31.69 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.334, allocations: 0 / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009224/0.3349, allocations: 301.4 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3349, allocations: 52.66 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009858/0.3359, allocations: 0.8752 MB / 0.5374 GB, free: 8.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.336, allocations: 33.64 kB / 0.5375 GB, free: 8.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3362, allocations: 212.1 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.3362, allocations: 26.73 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.3363, allocations: 18.81 kB / 0.5377 GB, free: 8.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3365, allocations: 368.4 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3366, allocations: 34.22 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3367, allocations: 35.09 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.3369, allocations: 73.06 kB / 0.5382 GB, free: 7.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3369, allocations: 4 kB / 0.5382 GB, free: 7.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000308/0.3372, allocations: 149.6 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3373, allocations: 4.562 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3373, allocations: 1.094 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3373, allocations: 0 / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3374, allocations: 19.27 kB / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3374, allocations: 0 / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.3375, allocations: 19.05 kB / 0.5384 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.3375, allocations: 1.938 kB / 0.5384 GB, free: 7.68 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 (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 prepare postOptimizeDAE: time 0.0002766/0.3378, allocations: 213 kB / 0.5386 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.3379, allocations: 43.81 kB / 0.5386 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.3383, allocations: 173.2 kB / 0.5388 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3383, allocations: 0 / 0.5388 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3383, allocations: 5.312 kB / 0.5388 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3383, allocations: 3.938 kB / 0.5388 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007234/0.339, allocations: 0.4919 MB / 0.5393 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3391, allocations: 1.188 kB / 0.5393 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.3391, allocations: 21.8 kB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3392, allocations: 2.156 kB / 0.5393 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3392, allocations: 7.938 kB / 0.5393 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3392, allocations: 5.484 kB / 0.5393 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3392, allocations: 0 / 0.5393 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.3396, allocations: 240.1 kB / 0.5395 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.3397, allocations: 111 kB / 0.5397 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.3397, allocations: 20.86 kB / 0.5397 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3398, allocations: 10.56 kB / 0.5397 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3399, allocations: 6.672 kB / 0.5397 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3399, allocations: 1.5 kB / 0.5397 GB, free: 6.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007013/0.3406, allocations: 0.6581 MB / 0.5403 GB, free: 6.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3406, allocations: 3.938 kB / 0.5403 GB, free: 6.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3409, allocations: 23.94 kB / 0.5404 GB, free: 6.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 (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.002015/0.3429, allocations: 1.075 MB / 0.5414 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.3432, allocations: 83.39 kB / 0.5415 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3432, allocations: 4 kB / 0.5415 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.3434, allocations: 41.09 kB / 0.5415 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3438, allocations: 31.3 kB / 0.5416 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.348, allocations: 3.332 MB / 0.5448 GB, free: 2.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.3486, allocations: 0.826 MB / 0.5456 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.534e-05/0.3487, allocations: 8.984 kB / 0.5456 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.3488, allocations: 103.4 kB / 0.5457 GB, free: 1.895 MB / 398.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3488, allocations: 4 kB / 0.5457 GB, free: 1.891 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.3782, allocations: 6.184 MB / 0.5518 GB, free: 11.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/9.076, allocations: 8.984 kB / 0.5518 GB, free: 11.79 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1)