Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 104.4 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.001332/0.001332, 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.419/1.419, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2345/0.2345, allocations: 46.12 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.003008/0.003008, allocations: 83.45 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1185, allocations: 62.46 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003252/0.1218, allocations: 1.608 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1229, allocations: 0.5494 MB / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.123, allocations: 0 / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.1233, allocations: 115.7 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.1237, allocations: 119.5 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.124, allocations: 106.5 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1242, allocations: 91.8 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1243, allocations: 16 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.1244, allocations: 43.83 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1246, allocations: 67.8 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1246, allocations: 4 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1247, allocations: 47.92 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1248, allocations: 23.92 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.1248, allocations: 43.67 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1251, allocations: 115.9 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1251, allocations: 0 / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1251, allocations: 0 / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1251, allocations: 4 kB / 483.2 MB, free: 2.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004988/0.1256, allocations: 422.8 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1256, allocations: 8.031 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.1257, allocations: 34.75 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1257, allocations: 16.84 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1259, allocations: 213.5 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.126, allocations: 8.375 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.126, allocations: 384 / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1262, allocations: 69.59 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1262, allocations: 0 / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1262, allocations: 0 / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1262, allocations: 0 / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1263, allocations: 31.91 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1267, allocations: 312.7 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1269, allocations: 46.56 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1269, allocations: 16.94 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.127, allocations: 0 / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.127, allocations: 38.56 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.127, allocations: 0 / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009426/0.128, allocations: 241.4 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.128, allocations: 55.34 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.1283, allocations: 263 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1283, allocations: 29.7 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.1284, allocations: 108.1 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.1284, allocations: 31.56 kB / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.1285, allocations: 29.7 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1286, allocations: 322.8 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.1287, allocations: 31.98 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.1288, allocations: 31.97 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.129, allocations: 72.81 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.129, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002413/0.1293, allocations: 121.4 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1293, allocations: 8 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1293, allocations: 0 / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1293, allocations: 0 / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1294, allocations: 20.03 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1294, allocations: 3.938 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.1295, allocations: 11.98 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1295, allocations: 0 / 485.7 MB, free: 15.38 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 (8): * Single equations (assignments): 8 * 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.0001097/0.1296, allocations: 137.8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.1297, allocations: 11.81 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003257/0.13, allocations: 135.3 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.13, allocations: 4 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.13, allocations: 7.875 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.13, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.1306, allocations: 431.3 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1307, allocations: 4 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.1307, allocations: 23.86 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1308, allocations: 4 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.1308, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1308, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1308, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1311, allocations: 220.2 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.1312, allocations: 88.95 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1312, allocations: 7.984 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.1313, allocations: 4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1313, allocations: 7.984 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1313, allocations: 4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1315, allocations: 188.4 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1315, allocations: 0 / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1318, allocations: 24 kB / 487 MB, free: 14 MB / 366.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 (8): * Single equations (assignments): 8 * 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.002187/0.134, allocations: 1.099 MB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1342, allocations: 87.88 kB / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1343, allocations: 0 / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1344, allocations: 39.97 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.1347, allocations: 12 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1369, allocations: 1.777 MB / 490 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1372, allocations: 0.7234 MB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.72e-05/0.1373, allocations: 20.64 kB / 490.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.1374, allocations: 35.42 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1374, allocations: 0 / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.1633, allocations: 3.259 MB / 494 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.092, allocations: 5.078 kB / 494 MB, free: 7.039 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1)