Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, 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.001582/0.001583, 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.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2363/0.2363, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.00247/0.00247, allocations: 80.8 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1309, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004064/0.135, allocations: 2.114 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1375, allocations: 1.387 MB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1376, allocations: 4 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.138, allocations: 67.44 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.1385, allocations: 207.1 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1399, allocations: 0.6283 MB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.1403, allocations: 351 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.1406, allocations: 69 kB / 485 MB, free: 320 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1408, allocations: 147.4 kB / 485.2 MB, free: 172 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.1411, allocations: 195.3 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.1412, allocations: 19.94 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1414, allocations: 79.89 kB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.1415, allocations: 143.6 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.1417, allocations: 190.5 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.1423, allocations: 430.3 kB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1423, allocations: 0 / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1423, allocations: 0 / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1423, allocations: 0 / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001282/0.1436, allocations: 0.8355 MB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1436, allocations: 8.031 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.1437, allocations: 46.73 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.1441, allocations: 92.14 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.1449, allocations: 0.4963 MB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1449, allocations: 8.375 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.1449, allocations: 11.94 kB / 487.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.1453, allocations: 168.4 kB / 487.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1453, allocations: 3.938 kB / 487.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1453, allocations: 3.938 kB / 487.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1453, allocations: 4 kB / 487.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.1457, allocations: 123.8 kB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.1468, allocations: 0.7269 MB / 488.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.1471, allocations: 137.2 kB / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.1473, allocations: 69.8 kB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.1474, allocations: 4 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1474, allocations: 38.5 kB / 489 MB, free: 12.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.1474, allocations: 0 / 489 MB, free: 12.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002166/0.1496, allocations: 0.7628 MB / 489.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.1496, allocations: 81.11 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.1508, allocations: 0.9299 MB / 490.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.1508, allocations: 29.7 kB / 490.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.1511, allocations: 276.3 kB / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/0.1511, allocations: 67.02 kB / 491.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-05/0.1512, allocations: 33.7 kB / 491.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1514, allocations: 325.9 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.1517, allocations: 115.9 kB / 491.6 MB, free: 9.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.152, allocations: 127.9 kB / 491.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.1527, allocations: 253.6 kB / 491.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1527, allocations: 0 / 491.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008142/0.1535, allocations: 344.6 kB / 492.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1536, allocations: 4 kB / 492.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1536, allocations: 0 / 492.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1536, allocations: 0 / 492.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.1539, allocations: 63.88 kB / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1539, allocations: 224 / 492.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1541, allocations: 27.89 kB / 492.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.1541, allocations: 15.92 kB / 492.4 MB, free: 8.668 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0002446/0.1544, allocations: 217.7 kB / 492.6 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1545, allocations: 63.23 kB / 492.7 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000927/0.1554, allocations: 403.2 kB / 493 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1555, allocations: 0 / 493 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.1555, allocations: 4.375 kB / 493.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1555, allocations: 0 / 493.1 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.1571, allocations: 0.9736 MB / 494 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1571, allocations: 4 kB / 494 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.1574, allocations: 51.89 kB / 494.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1574, allocations: 4 kB / 494.1 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1574, allocations: 7.984 kB / 494.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.1574, allocations: 11.94 kB / 494.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1575, allocations: 0 / 494.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/0.1583, allocations: 0.5096 MB / 494.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.1585, allocations: 152.3 kB / 494.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.1585, allocations: 8 kB / 494.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.1588, allocations: 23.91 kB / 494.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.1589, allocations: 19.97 kB / 494.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1589, allocations: 4 kB / 494.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008088/0.1597, allocations: 0.6786 MB / 495.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1597, allocations: 0 / 495.5 MB, free: 5.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004043/0.1601, allocations: 75.98 kB / 495.6 MB, free: 5.367 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 (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 Backend phase and start with SimCode phase: time 0.002662/0.1628, allocations: 1.349 MB / 496.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.1636, allocations: 279.6 kB / 497.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1636, allocations: 4 kB / 497.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.1639, allocations: 143.8 kB / 497.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.1646, allocations: 81.72 kB / 497.4 MB, free: 3.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007986/0.1726, allocations: 5.689 MB / 0.4913 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.1733, allocations: 0.8885 MB / 0.4922 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.1736, allocations: 107.2 kB / 0.4923 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/0.1739, allocations: 191.4 kB / 0.4925 GB, free: 12.64 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1739, allocations: 0 / 0.4925 GB, free: 12.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07167/0.2456, allocations: 10.53 MB / 0.5027 GB, free: 2.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/8.784, allocations: 9.016 kB / 0.5028 GB, free: 2.199 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1)