Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001545/0.001546, allocations: 104 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.001771/0.001772, 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.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2171/0.2171, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.003141/0.003141, allocations: 75.94 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1301, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003042/0.1331, allocations: 1.6 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1342, allocations: 0.5455 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.1343, allocations: 4 kB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.1345, allocations: 23.84 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1348, allocations: 75.62 kB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1351, allocations: 106.8 kB / 482.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1353, allocations: 67.84 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1354, allocations: 15.98 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.1355, allocations: 19.88 kB / 482.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.1355, allocations: 27.84 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1356, allocations: 4 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.527e-05/0.1357, allocations: 31.98 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.1357, allocations: 11.94 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.1358, allocations: 27.8 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1359, allocations: 84.06 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.136, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.136, allocations: 0 / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.136, 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004925/0.1365, allocations: 383.1 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1365, allocations: 12.03 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1366, allocations: 30.75 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1366, allocations: 8.844 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1368, allocations: 190.8 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-06/0.1368, allocations: 4.375 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.1369, allocations: 8.375 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.137, allocations: 53.56 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1371, allocations: 3.938 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1371, allocations: 0 / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1371, allocations: 3.984 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.948e-05/0.1372, allocations: 19.98 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1376, allocations: 280.9 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1378, allocations: 54.48 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.1379, allocations: 12.86 kB / 483.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1379, allocations: 8.062 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.1379, allocations: 34.56 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1379, allocations: 4 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005846/0.1385, allocations: 153.3 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1386, allocations: 55.41 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.1387, allocations: 148.4 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1387, allocations: 25.7 kB / 484.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.1388, allocations: 96.12 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1388, allocations: 15.81 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.1389, allocations: 21.72 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.139, allocations: 322.8 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.1391, allocations: 19.98 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.1392, allocations: 27.91 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1393, allocations: 52.77 kB / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1393, allocations: 4 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.1395, allocations: 81.83 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1396, allocations: 11.98 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1396, allocations: 0 / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1396, allocations: 0 / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.144e-05/0.1397, allocations: 12 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1397, allocations: 0 / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.1397, allocations: 11.92 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1397, allocations: 11.94 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 9.946e-05/0.1398, allocations: 117.9 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.1399, allocations: 11.84 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.1401, allocations: 97.95 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1401, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1402, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1402, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.1406, allocations: 362.3 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1406, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.1407, allocations: 15.98 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1407, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1407, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1407, allocations: 3.938 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1407, allocations: 3.938 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.141, allocations: 183.4 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.1411, allocations: 85.11 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1411, allocations: 0 / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.1411, allocations: 11.92 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.1412, allocations: 3.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.1412, allocations: 4.188 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.114e-05/0.1413, allocations: 117.7 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1413, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1415, allocations: 19.91 kB / 486 MB, free: 14.99 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.001799/0.1433, allocations: 1.002 MB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.1436, allocations: 67.89 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1436, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.65e-05/0.1437, allocations: 23.98 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.0003188/0.144, allocations: 27.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.001627/0.1456, allocations: 1.457 MB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.146, allocations: 0.6924 MB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.146, allocations: 16.05 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.1461, allocations: 27.42 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 1.944e-06/0.1461, allocations: 4 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05201/0.1981, allocations: 2.494 MB / 491.8 MB, free: 9.266 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.269, allocations: 9.062 kB / 491.8 MB, free: 9.258 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1)