Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 121.8 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.001366/0.001366, 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.427/1.427, allocations: 227.4 MB / 247 MB, free: 10.41 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.2253/0.2253, allocations: 46.12 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.002232/0.002232, allocations: 83.84 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3534, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004119/0.3576, allocations: 2.031 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3597, allocations: 1.245 MB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3598, allocations: 2.75 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.3601, allocations: 53.02 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.3606, allocations: 205.3 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.3615, allocations: 439.9 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.3619, allocations: 292.2 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3621, allocations: 61.55 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.3624, allocations: 130.3 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.3626, allocations: 190.5 kB / 0.5351 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.3627, allocations: 13.03 kB / 0.5351 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.3628, allocations: 60.52 kB / 0.5352 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.363, allocations: 143.2 kB / 0.5353 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3632, allocations: 178.8 kB / 0.5355 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.3637, allocations: 405.4 kB / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3637, allocations: 0 / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3638, allocations: 0 / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3638, allocations: 1.25 kB / 0.5359 GB, free: 9.473 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001081/0.3649, allocations: 0.8115 MB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3649, allocations: 9.375 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.365, allocations: 46.7 kB / 0.5367 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.3652, allocations: 80.91 kB / 0.5368 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.3659, allocations: 480.6 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3659, allocations: 7.875 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.366, allocations: 19.11 kB / 0.5373 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.3663, allocations: 125.1 kB / 0.5374 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3663, allocations: 4.922 kB / 0.5374 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3663, allocations: 9.125 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3663, allocations: 6.594 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.3666, allocations: 75.55 kB / 0.5375 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.3676, allocations: 0.6808 MB / 0.5382 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.3678, allocations: 120.5 kB / 0.5383 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3679, allocations: 40.67 kB / 0.5383 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.368, allocations: 5.125 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.368, allocations: 36.84 kB / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.368, allocations: 0 / 0.5384 GB, free: 7.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001443/0.3694, allocations: 0.5275 MB / 0.5389 GB, free: 7.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3695, allocations: 80.14 kB / 0.539 GB, free: 6.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.3706, allocations: 0.9263 MB / 0.5399 GB, free: 6.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.3707, allocations: 34.95 kB / 0.5399 GB, free: 6.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.3709, allocations: 265 kB / 0.5402 GB, free: 6.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.371, allocations: 53.78 kB / 0.5402 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.371, allocations: 34.05 kB / 0.5402 GB, free: 6.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3712, allocations: 380.4 kB / 0.5406 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3714, allocations: 55.06 kB / 0.5407 GB, free: 5.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.3716, allocations: 74.38 kB / 0.5407 GB, free: 5.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.3719, allocations: 138.1 kB / 0.5409 GB, free: 5.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3719, allocations: 1.125 kB / 0.5409 GB, free: 5.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004734/0.3724, allocations: 235.2 kB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3725, allocations: 4.688 kB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3725, allocations: 1.375 kB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3725, allocations: 1.406 kB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3727, allocations: 39.31 kB / 0.5411 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3727, allocations: 1.156 kB / 0.5411 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.3729, allocations: 15.67 kB / 0.5411 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3729, allocations: 4.469 kB / 0.5411 GB, free: 5.535 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002149/0.3731, allocations: 212.8 kB / 0.5413 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3732, allocations: 62.2 kB / 0.5414 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006339/0.3739, allocations: 276.3 kB / 0.5417 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3739, allocations: 2.25 kB / 0.5417 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3739, allocations: 1.219 kB / 0.5417 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3739, allocations: 5.188 kB / 0.5417 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3752, allocations: 0.787 MB / 0.5424 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3752, allocations: 5.031 kB / 0.5425 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.3753, allocations: 35.72 kB / 0.5425 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3754, allocations: 0.9375 kB / 0.5425 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3754, allocations: 10.41 kB / 0.5425 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.691e-05/0.3754, allocations: 5.062 kB / 0.5425 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3754, allocations: 1.25 kB / 0.5425 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.376, allocations: 398.2 kB / 0.5429 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3762, allocations: 155.1 kB / 0.543 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.3763, allocations: 9 kB / 0.543 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3764, allocations: 20.36 kB / 0.5431 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.3765, allocations: 22.86 kB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3765, allocations: 3.875 kB / 0.5431 GB, free: 4.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008157/0.3774, allocations: 0.6708 MB / 0.5437 GB, free: 3.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3774, allocations: 1.406 kB / 0.5437 GB, free: 3.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.3777, allocations: 57.45 kB / 0.5438 GB, free: 3.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002327/0.3801, allocations: 1.229 MB / 0.545 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004325/0.3805, allocations: 151.8 kB / 0.5451 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3805, allocations: 0 / 0.5451 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3807, allocations: 79.89 kB / 0.5452 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/0.3813, allocations: 76.25 kB / 0.5453 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/0.388, allocations: 5.063 MB / 0.5502 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.3886, allocations: 0.8614 MB / 0.5511 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.3888, allocations: 83.2 kB / 0.5512 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.389, allocations: 167.4 kB / 0.5513 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.389, allocations: 0 / 0.5513 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/0.4235, allocations: 9.932 MB / 0.561 GB, free: 2.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.903/9.326, allocations: 12.09 kB / 0.561 GB, free: 2.297 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1)