Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2309/0.2309, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002433/0.002433, allocations: 81.33 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1072, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003252/0.1105, allocations: 1.686 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1116, allocations: 0.5689 MB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.1117, allocations: 7.875 kB / 482.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.112, allocations: 75.78 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.1123, allocations: 103.6 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.1128, allocations: 174 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.113, allocations: 95.73 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1131, allocations: 24.22 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.1131, allocations: 39.84 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1133, allocations: 51.83 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1133, allocations: 4 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1134, allocations: 55.97 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.1135, allocations: 31.84 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.1135, allocations: 35.69 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1137, allocations: 127.8 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1138, allocations: 0 / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1138, allocations: 0 / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1138, allocations: 0 / 483.3 MB, free: 2.062 MB / 350.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.0005347/0.1143, allocations: 426.9 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1144, allocations: 16.02 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.1144, allocations: 30.75 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.1144, allocations: 12.75 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1147, allocations: 212 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1147, allocations: 4.375 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1147, allocations: 4.375 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1149, allocations: 73.59 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1149, allocations: 3.906 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1149, allocations: 0 / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1149, allocations: 4 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1151, allocations: 43.95 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.1156, allocations: 324.7 kB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1158, allocations: 58.55 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.1159, allocations: 29.05 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.116, allocations: 11.94 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.116, allocations: 30.56 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.116, allocations: 3.938 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00155/0.1176, allocations: 440.7 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1176, allocations: 67.39 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1179, allocations: 215.2 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1179, allocations: 29.7 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.118, allocations: 108.1 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.118, allocations: 35.45 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.1181, allocations: 33.7 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1182, allocations: 322.8 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1184, allocations: 55.95 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1185, allocations: 51.97 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.1188, allocations: 128.7 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1189, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00039/0.1193, allocations: 169.4 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1193, allocations: 4 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1193, allocations: 0 / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1193, allocations: 7.938 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1194, allocations: 31.97 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.1195, allocations: 3.938 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.1195, allocations: 7.984 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1196, allocations: 4 kB / 486.2 MB, free: 14.89 MB / 366.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.0001173/0.1197, allocations: 133.8 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.1197, allocations: 15.81 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.1202, allocations: 186.9 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1202, allocations: 7.938 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1202, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1202, allocations: 7.969 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007528/0.121, allocations: 0.5039 MB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.121, allocations: 384 / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1211, allocations: 27.92 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.1211, allocations: 12.06 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1211, allocations: 4 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1212, allocations: 0 / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1212, allocations: 4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.1216, allocations: 281.4 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1217, allocations: 92.91 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1217, allocations: 4 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1218, allocations: 12.08 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1219, allocations: 7.938 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1219, allocations: 11.98 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.122, allocations: 164.3 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.122, allocations: 0 / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1223, allocations: 32 kB / 487.7 MB, free: 13.28 MB / 366.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.002321/0.1246, allocations: 1.155 MB / 488.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.125, allocations: 131.9 kB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1251, allocations: 7.938 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.1252, allocations: 63.89 kB / 489.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1256, allocations: 25.05 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.1282, allocations: 1.972 MB / 491 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.1286, allocations: 0.7235 MB / 491.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1287, allocations: 36.52 kB / 491.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/0.1288, allocations: 43.42 kB / 491.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1288, allocations: 0 / 491.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.1534, allocations: 3.552 MB / 495.4 MB, free: 5.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.28, allocations: 10.58 kB / 495.4 MB, free: 5.668 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1)