Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, 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.001477/0.001477, 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.497/1.497, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2359/0.2359, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002395/0.002395, allocations: 80.67 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.14, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.005318/0.1454, allocations: 1.626 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.147, allocations: 0.5299 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1472, allocations: 0 / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.1478, allocations: 131.6 kB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.1483, allocations: 123.6 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004152/0.1487, allocations: 91.19 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.149, allocations: 95.8 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1492, allocations: 23.92 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1493, allocations: 47.89 kB / 482.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1495, allocations: 83.72 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1495, allocations: 4 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1496, allocations: 43.98 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.1497, allocations: 35.84 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.1498, allocations: 43.61 kB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1501, allocations: 115.9 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1501, allocations: 0 / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1501, allocations: 4 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1501, allocations: 0 / 483.2 MB, free: 2.152 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.0006452/0.1507, allocations: 426.8 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.1508, allocations: 12.03 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.1509, allocations: 30.75 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.1509, allocations: 20.75 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1512, allocations: 207.9 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1512, allocations: 8.359 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.1513, allocations: 4.375 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1515, allocations: 61.55 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1515, allocations: 3.938 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1515, allocations: 0 / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1515, allocations: 4 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.992e-05/0.1516, allocations: 23.97 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.1521, allocations: 308.7 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1523, allocations: 46.5 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.1523, allocations: 16.94 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1524, allocations: 0 / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.1524, allocations: 38.56 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1524, allocations: 0 / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001156/0.1536, allocations: 220.9 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1537, allocations: 55.41 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.154, allocations: 283.7 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.154, allocations: 33.7 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1542, allocations: 112.1 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.1542, allocations: 27.62 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.1543, allocations: 29.64 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002603/0.1546, allocations: 322.8 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.1547, allocations: 23.98 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.1548, allocations: 27.98 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.155, allocations: 68.89 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.155, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002668/0.1552, allocations: 105.8 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1553, allocations: 6.344 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1553, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1553, allocations: 3.938 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1555, allocations: 27.92 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1555, allocations: 3.938 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.1555, allocations: 11.84 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1556, allocations: 0 / 485.7 MB, free: 15.4 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.0001973/0.1558, allocations: 133.8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.1558, allocations: 15.89 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.1562, allocations: 130.9 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1562, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.1562, allocations: 7.875 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1562, allocations: 432 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.1569, allocations: 411.3 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1569, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.157, allocations: 23.95 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.157, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.157, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.157, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1571, allocations: 3.984 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1574, allocations: 220.1 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.199e-05/0.1575, allocations: 96.84 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1575, allocations: 4 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.1576, allocations: 4 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1577, allocations: 7.984 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.1577, allocations: 4 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1579, allocations: 205.5 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1579, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1582, allocations: 27.98 kB / 487 MB, free: 14.02 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.002142/0.1603, allocations: 1.089 MB / 488.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.1606, allocations: 59.97 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1606, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.293e-05/0.1607, allocations: 39.91 kB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1611, allocations: 25.83 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1636, allocations: 1.801 MB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.164, allocations: 0.7197 MB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.1641, allocations: 16.97 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.1642, allocations: 35.42 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1642, allocations: 0 / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.19, allocations: 3.313 MB / 494.1 MB, free: 7.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.478, allocations: 13.08 kB / 494.1 MB, free: 7 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1)