Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2271/0.2271, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002443/0.002443, allocations: 86.84 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1183, allocations: 62.44 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003439/0.1218, allocations: 1.65 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.1228, allocations: 0.6841 MB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.1228, allocations: 0 / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.1231, allocations: 31.84 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1233, allocations: 39.83 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.712e-06/0.1233, allocations: 4 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1234, allocations: 35.84 kB / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.1235, allocations: 0 / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.1235, allocations: 15.86 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.1236, allocations: 19.3 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1236, allocations: 4 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.121e-05/0.1237, allocations: 8 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.1237, allocations: 23.92 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.1238, allocations: 23.8 kB / 482.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1239, allocations: 71.97 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1239, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1239, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.124, allocations: 0 / 482.8 MB, free: 2.488 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004173/0.1244, allocations: 359.4 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1244, allocations: 12.03 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.1245, allocations: 38.73 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.1245, allocations: 16.75 kB / 483.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1247, allocations: 168.3 kB / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1247, allocations: 4.312 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1247, allocations: 4.375 kB / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1249, allocations: 125.6 kB / 483.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.1249, allocations: 3.938 kB / 483.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1249, allocations: 4 kB / 483.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.125, allocations: 27.92 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.81e-05/0.125, allocations: 39.92 kB / 483.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.1257, allocations: 0.8906 MB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.347e-05/0.1258, allocations: 173.1 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.1259, allocations: 84.08 kB / 484.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.1259, allocations: 75.28 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.126, allocations: 113.9 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.126, allocations: 4 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.904e-05/0.126, allocations: 37.61 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.1261, allocations: 126.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1263, allocations: 190 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1263, allocations: 25.7 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.1265, allocations: 147.1 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-06/0.1265, allocations: 4 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.1265, allocations: 45.61 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1267, allocations: 322.8 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.1267, allocations: 31.97 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1269, allocations: 157 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.1271, allocations: 208.9 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1271, allocations: 0 / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003203/0.1274, allocations: 201.6 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1275, allocations: 14.59 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1275, allocations: 4 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1275, allocations: 15.98 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1276, allocations: 35.92 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1276, allocations: 4 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.1277, allocations: 31.62 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1278, allocations: 12 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001338/0.1279, allocations: 217.1 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.128, allocations: 112.8 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/0.1281, allocations: 116.8 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.801e-05/0.1281, allocations: 184.2 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.026e-05/0.1282, allocations: 176.3 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.885e-05/0.1283, allocations: 180.2 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.1286, allocations: 429.1 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/0.1286, allocations: 105 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.1287, allocations: 108.9 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-05/0.1288, allocations: 180.2 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.1288, allocations: 184.2 kB / 488.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-05/0.1289, allocations: 180.3 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-05/0.129, allocations: 184.3 kB / 488.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.1292, allocations: 311.6 kB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.1293, allocations: 193.9 kB / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.1294, allocations: 176.3 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.1294, allocations: 105 kB / 489.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.1295, allocations: 188.2 kB / 489.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.1296, allocations: 101 kB / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1297, allocations: 127.2 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1297, allocations: 0 / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.13, allocations: 16 kB / 490 MB, free: 10.67 MB / 366.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 (0): * Single equations (assignments): 0 * 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.001008/0.131, allocations: 0.9154 MB / 490.9 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1312, allocations: 72.59 kB / 491 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.1313, allocations: 448 / 491 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.1313, allocations: 4 kB / 491 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.1317, allocations: 459.7 kB / 491.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.1335, allocations: 1.878 MB / 493.3 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1339, allocations: 0.7006 MB / 494 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000199/0.1341, allocations: 45.03 kB / 494.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.1341, allocations: 31.42 kB / 494.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1341, allocations: 0 / 494.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.1602, allocations: 2.062 MB / 496.2 MB, free: 4.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.172, allocations: 10.86 kB / 496.2 MB, free: 4.383 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1)