Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 197.2 kB / 18.73 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.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.44 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.2234/0.2234, allocations: 46.12 MB / 344.4 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.002381/0.002381, allocations: 83.86 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3466, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003635/0.3503, allocations: 1.609 MB / 0.5322 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3515, allocations: 0.5347 MB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.3516, allocations: 1.156 kB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.3523, allocations: 461.5 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.3528, allocations: 291.9 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.3532, allocations: 128.6 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.3535, allocations: 165.1 kB / 0.5337 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3536, allocations: 5.688 kB / 0.5337 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3538, allocations: 109.5 kB / 0.5338 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.3541, allocations: 214.2 kB / 0.534 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3541, allocations: 2.188 kB / 0.534 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.3542, allocations: 23.23 kB / 0.534 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3543, allocations: 81.75 kB / 0.5341 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.3545, allocations: 102.4 kB / 0.5342 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.3549, allocations: 258 kB / 0.5345 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.3549, allocations: 1.188 kB / 0.5345 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3549, allocations: 3.938 kB / 0.5345 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3549, allocations: 0 / 0.5345 GB, free: 10.67 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.001076/0.356, allocations: 0.6539 MB / 0.5351 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.3561, allocations: 13.41 kB / 0.5351 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.3561, allocations: 31.97 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.3562, allocations: 50.33 kB / 0.5352 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.3567, allocations: 298.8 kB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3567, allocations: 5.594 kB / 0.5355 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3568, allocations: 6.375 kB / 0.5355 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3569, allocations: 42.97 kB / 0.5355 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.357, allocations: 5.594 kB / 0.5355 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.357, allocations: 3.984 kB / 0.5356 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.357, allocations: 4 kB / 0.5356 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.3571, allocations: 20.3 kB / 0.5356 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006595/0.3578, allocations: 379.8 kB / 0.5359 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3579, allocations: 27.45 kB / 0.536 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.039e-05/0.358, allocations: 19.28 kB / 0.536 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.358, allocations: 4 kB / 0.536 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.358, allocations: 35.88 kB / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.3581, allocations: 0 / 0.536 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000339/0.3584, allocations: 98.14 kB / 0.5361 GB, free: 9.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.3585, allocations: 52.88 kB / 0.5362 GB, free: 9.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.3598, allocations: 0.8674 MB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3599, allocations: 27.08 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.3601, allocations: 234 kB / 0.5373 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.3601, allocations: 11.88 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.3602, allocations: 12.84 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002475/0.3605, allocations: 364.2 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.3605, allocations: 12.58 kB / 0.5376 GB, free: 8.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.3606, allocations: 5.75 kB / 0.5376 GB, free: 8.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.3607, allocations: 27.94 kB / 0.5377 GB, free: 7.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3607, allocations: 0 / 0.5377 GB, free: 7.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.3609, allocations: 89.94 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3609, allocations: 9.516 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3609, allocations: 0 / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3609, allocations: 1.094 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.361, allocations: 4.844 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.361, allocations: 0 / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.3611, allocations: 2.062 kB / 0.5378 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3611, allocations: 12.84 kB / 0.5378 GB, free: 7.914 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 (2): * Single equations (assignments): 2 * 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.0002719/0.3614, allocations: 213.4 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.3615, allocations: 46.47 kB / 0.538 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.3617, allocations: 102.7 kB / 0.5381 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3617, allocations: 1.438 kB / 0.5381 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3617, allocations: 0 / 0.5381 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3618, allocations: 3.938 kB / 0.5381 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.3622, allocations: 300.5 kB / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3622, allocations: 0 / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.3622, allocations: 4.188 kB / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3622, allocations: 1.438 kB / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3622, allocations: 0 / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3622, allocations: 1.5 kB / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3622, allocations: 0 / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.3625, allocations: 200.2 kB / 0.5386 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3626, allocations: 114.2 kB / 0.5387 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3626, allocations: 1.531 kB / 0.5387 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.3627, allocations: 5.359 kB / 0.5387 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.3627, allocations: 1.312 kB / 0.5387 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3627, allocations: 1.531 kB / 0.5387 GB, free: 7.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007206/0.3635, allocations: 0.6618 MB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3635, allocations: 1.062 kB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.3637, allocations: 18.91 kB / 0.5394 GB, free: 6.758 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 (2): * Single equations (assignments): 2 * 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.001828/0.3656, allocations: 0.9643 MB / 0.5404 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.3657, allocations: 21.05 kB / 0.5404 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3657, allocations: 0 / 0.5404 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.3658, allocations: 16.36 kB / 0.5404 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.3663, allocations: 31.75 kB / 0.5404 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3705, allocations: 3.152 MB / 0.5435 GB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.371, allocations: 0.825 MB / 0.5443 GB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.3711, allocations: 13.53 kB / 0.5443 GB, free: 3.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.3712, allocations: 110.8 kB / 0.5444 GB, free: 2.996 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3712, allocations: 0 / 0.5444 GB, free: 2.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.3994, allocations: 5.746 MB / 0.55 GB, free: 13.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/9.078, allocations: 9.969 kB / 0.55 GB, free: 13.48 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1)