Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, 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.001339/0.001339, 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.539/1.539, 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.2261/0.2261, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002145/0.002145, allocations: 81.53 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1311, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003744/0.1349, allocations: 1.592 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.136, allocations: 0.5261 MB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.1361, allocations: 4 kB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1365, allocations: 31.78 kB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.1368, allocations: 83.56 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1372, allocations: 91.69 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1374, allocations: 59.91 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1375, allocations: 15.98 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.1376, allocations: 27.86 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.1377, allocations: 23.8 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.1377, allocations: 4 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1378, allocations: 27.98 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.1379, allocations: 11.98 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.138, allocations: 27.75 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.1381, allocations: 84.06 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1382, allocations: 0 / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1382, allocations: 0 / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1382, allocations: 0 / 482.8 MB, free: 2.508 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005471/0.1387, allocations: 407 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1388, allocations: 8.031 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.1388, allocations: 34.69 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.1389, allocations: 8.844 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1391, allocations: 199.9 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1391, allocations: 4.125 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1392, allocations: 4 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1393, allocations: 49.67 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1393, allocations: 4 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1393, allocations: 0 / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1393, allocations: 4 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.1394, allocations: 19.98 kB / 483.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.1398, allocations: 276.8 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.14, allocations: 42.56 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.1401, allocations: 20.94 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1401, allocations: 0 / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1401, allocations: 30.56 kB / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1402, allocations: 0 / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005356/0.1407, allocations: 141.3 kB / 484 MB, free: 1.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1407, allocations: 59.39 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1409, allocations: 174.4 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.141, allocations: 29.7 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.141, allocations: 104 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1411, allocations: 23.73 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.1411, allocations: 17.72 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1413, allocations: 318.8 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.1414, allocations: 19.98 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.1415, allocations: 23.92 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1416, allocations: 48.83 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1416, allocations: 0 / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001915/0.1418, allocations: 81.77 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1418, allocations: 6.656 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1419, allocations: 4 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1419, allocations: 0 / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.142, allocations: 23.86 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.142, allocations: 3.938 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.142, allocations: 3.984 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.142, allocations: 4 kB / 485 MB, free: 124 kB / 350.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 (5): * Single equations (assignments): 5 * 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.0001251/0.1422, allocations: 121.9 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.1422, allocations: 8.188 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.1425, allocations: 89.97 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1426, allocations: 3.984 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1426, allocations: 7.922 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1426, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.1432, allocations: 346.5 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1432, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.1432, allocations: 15.98 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.1432, allocations: 3.938 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1433, allocations: 0 / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1433, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1433, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1435, allocations: 187.3 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.1436, allocations: 81.02 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1436, allocations: 12.19 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.1437, allocations: 7.984 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.1437, allocations: 4 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1437, allocations: 0 / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1439, allocations: 138.3 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1439, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1441, allocations: 19.98 kB / 486 MB, free: 14.98 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 (5): * Single equations (assignments): 5 * 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.001847/0.146, allocations: 1.003 MB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1462, allocations: 51.91 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1462, allocations: 0 / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.1463, allocations: 35.91 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1466, allocations: 14.23 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.1484, allocations: 1.498 MB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1488, allocations: 0.6963 MB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.1489, allocations: 7.984 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.149, allocations: 27.42 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.149, allocations: 0 / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.1872, allocations: 2.575 MB / 491.9 MB, free: 9.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.121, allocations: 12.98 kB / 491.9 MB, free: 9.156 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1)