Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.001371, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, 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.2344/0.2344, 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.00225/0.00225, allocations: 83.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3502, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.004279/0.3545, allocations: 1.677 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3563, allocations: 0.58 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.3564, allocations: 1.094 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.3567, allocations: 63.19 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.3571, allocations: 93.8 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.3576, allocations: 185.4 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.3579, allocations: 92.88 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.358, allocations: 23.03 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.3581, allocations: 38.5 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3582, allocations: 38.16 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3583, allocations: 4.875 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3584, allocations: 53.84 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/0.3585, allocations: 28.41 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.3586, allocations: 34.56 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.3589, allocations: 128.4 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3589, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3589, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3589, allocations: 0 / 0.5336 GB, free: 11.13 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007106/0.3597, allocations: 425 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3597, allocations: 9.625 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.3598, allocations: 44.06 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.3598, allocations: 14.34 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3601, allocations: 210.6 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-06/0.3601, allocations: 1.75 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.3602, allocations: 7.125 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3604, allocations: 68.8 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3604, allocations: 5.328 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3605, allocations: 0 / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.3605, allocations: 1.375 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.3606, allocations: 48.7 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.3611, allocations: 329.9 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.3614, allocations: 56.67 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.3615, allocations: 29.34 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3615, allocations: 1.375 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3615, allocations: 36.03 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.3615, allocations: 3.938 kB / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001595/0.3631, allocations: 434.2 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3632, allocations: 56.59 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3634, allocations: 192.4 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3635, allocations: 29.64 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.3636, allocations: 105.6 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.3636, allocations: 41.33 kB / 0.5356 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.3637, allocations: 25.59 kB / 0.5357 GB, free: 9.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3638, allocations: 322.3 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.364, allocations: 57.3 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3641, allocations: 56.83 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.3644, allocations: 124.1 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3644, allocations: 0 / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003561/0.3648, allocations: 164.5 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3648, allocations: 10.27 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3648, allocations: 0 / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3648, allocations: 5.188 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.365, allocations: 24.55 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.365, allocations: 0 / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.365, allocations: 13.77 kB / 0.5364 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3651, allocations: 3.25 kB / 0.5364 GB, free: 8.719 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 (11): * Single equations (assignments): 11 * 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.0001055/0.3652, allocations: 141.1 kB / 0.5366 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.3652, allocations: 13.59 kB / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.3657, allocations: 186.8 kB / 0.5367 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3657, allocations: 10.25 kB / 0.5368 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3657, allocations: 0 / 0.5368 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3657, allocations: 4 kB / 0.5368 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.3664, allocations: 0.5026 MB / 0.5372 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3665, allocations: 1.312 kB / 0.5373 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3666, allocations: 24.52 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3666, allocations: 1.188 kB / 0.5373 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3666, allocations: 10.25 kB / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3666, allocations: 1.031 kB / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3666, allocations: 1.031 kB / 0.5373 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.367, allocations: 281.2 kB / 0.5376 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.3671, allocations: 92.27 kB / 0.5376 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.3671, allocations: 2.344 kB / 0.5376 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3672, allocations: 14.3 kB / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.3673, allocations: 17.28 kB / 0.5377 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.3673, allocations: 7.234 kB / 0.5377 GB, free: 7.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.3675, allocations: 155 kB / 0.5378 GB, free: 7.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3675, allocations: 0 / 0.5378 GB, free: 7.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3678, allocations: 35.11 kB / 0.5379 GB, free: 7.504 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002323/0.3701, allocations: 1.152 MB / 0.539 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.3705, allocations: 136.9 kB / 0.5391 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3705, allocations: 0 / 0.5391 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.3707, allocations: 67.52 kB / 0.5392 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3711, allocations: 23.39 kB / 0.5392 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.3736, allocations: 1.911 MB / 0.5411 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.374, allocations: 0.7231 MB / 0.5418 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.3741, allocations: 28 kB / 0.5418 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.3742, allocations: 39.14 kB / 0.5418 GB, free: 4.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3742, allocations: 0 / 0.5418 GB, free: 4.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.3984, allocations: 3.517 MB / 0.5453 GB, free: 2.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.519, allocations: 7.078 kB / 0.5453 GB, free: 2.293 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1)