Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001868/0.001868, 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.001854/0.001854, allocations: 201.2 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.513/1.513, allocations: 227.4 MB / 247 MB, free: 10.46 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.2258/0.2258, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.002316/0.002316, allocations: 80.16 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3355, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.00316/0.3387, allocations: 1.671 MB / 0.5323 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3406, allocations: 1.173 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.3406, allocations: 1.781 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.3408, allocations: 15.45 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.3411, allocations: 90.52 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.3415, allocations: 133 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3416, allocations: 73.42 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.3417, allocations: 14.86 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.3418, allocations: 30.86 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.342, allocations: 44.2 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.342, allocations: 4.125 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.3422, allocations: 101.5 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.3423, allocations: 16.05 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.3423, allocations: 30.72 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.3426, allocations: 148.8 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3426, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3426, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3426, allocations: 0 / 0.5341 GB, free: 10.75 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.0006303/0.3432, allocations: 435.6 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3433, allocations: 8.25 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.3433, allocations: 32.12 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3434, allocations: 9.016 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.3436, allocations: 195.2 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3437, allocations: 1.75 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3437, allocations: 9.688 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3439, allocations: 81.12 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3439, allocations: 5.375 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3439, allocations: 4 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3439, allocations: 1.375 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3441, allocations: 32.59 kB / 0.5349 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.3445, allocations: 296.2 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.3447, allocations: 51 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.3447, allocations: 23.94 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3448, allocations: 1.375 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3448, allocations: 31.94 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3448, allocations: 0 / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008286/0.3457, allocations: 219.7 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.3457, allocations: 78.52 kB / 0.5355 GB, free: 9.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.3459, allocations: 159.2 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.346, allocations: 29.7 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.3461, allocations: 96.64 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.3461, allocations: 30.8 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.3462, allocations: 22.66 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3463, allocations: 326.1 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3465, allocations: 30.5 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3466, allocations: 46.41 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3468, allocations: 84.5 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3468, allocations: 0 / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003004/0.3471, allocations: 110.7 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3472, allocations: 5.656 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3472, allocations: 0 / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3472, allocations: 1.156 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3473, allocations: 26.69 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3474, allocations: 0 / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.3474, allocations: 14.73 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3474, allocations: 2.281 kB / 0.5365 GB, free: 8.5 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.0001016/0.3476, allocations: 118.3 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.3476, allocations: 12.7 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.348, allocations: 123.9 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.348, allocations: 0.9688 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.348, allocations: 0 / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.348, allocations: 8.953 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000604/0.3486, allocations: 396.5 kB / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3486, allocations: 0 / 0.5371 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.3487, allocations: 23.2 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3487, allocations: 1.438 kB / 0.5371 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3487, allocations: 3.938 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3487, allocations: 1.594 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3487, allocations: 0 / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.3491, allocations: 218 kB / 0.5373 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.3492, allocations: 87.56 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3492, allocations: 9.359 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.3493, allocations: 6.562 kB / 0.5374 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.3493, allocations: 10.64 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.3493, allocations: 1.219 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3495, allocations: 124.4 kB / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3495, allocations: 0 / 0.5376 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.3498, allocations: 43.55 kB / 0.5376 GB, free: 7.477 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.002312/0.3521, allocations: 1.139 MB / 0.5387 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.3524, allocations: 78.34 kB / 0.5388 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3524, allocations: 4.969 kB / 0.5388 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.3526, allocations: 46.06 kB / 0.5388 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.353, allocations: 26.88 kB / 0.5389 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3553, allocations: 1.581 MB / 0.5404 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3557, allocations: 0.6927 MB / 0.5411 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.664e-05/0.3558, allocations: 21.08 kB / 0.5411 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.3558, allocations: 32.77 kB / 0.5411 GB, free: 4.402 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3559, allocations: 0 / 0.5411 GB, free: 4.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3851, allocations: 3.51 MB / 0.5446 GB, free: 2.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.552, allocations: 7.125 kB / 0.5446 GB, free: 2.418 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1)