Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 104.1 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.001461/0.001461, 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.412/1.412, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.2332/0.2332, 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.002324/0.002325, allocations: 81.27 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003322/0.1303, allocations: 1.61 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1314, allocations: 0.5455 MB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.1315, allocations: 0 / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1318, allocations: 71.72 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.1321, allocations: 111.6 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1323, allocations: 86.64 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1325, allocations: 83.81 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1326, allocations: 16 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.971e-05/0.1327, allocations: 39.83 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1328, allocations: 55.81 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1328, allocations: 4 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-05/0.1329, allocations: 43.98 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.1329, allocations: 23.86 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.133, allocations: 31.75 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1332, allocations: 99.98 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1332, allocations: 3.938 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1332, allocations: 4 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1332, allocations: 0 / 483 MB, free: 2.289 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.0005001/0.1337, allocations: 418.9 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1338, allocations: 12.03 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.1338, allocations: 30.75 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.1338, allocations: 8.844 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.134, allocations: 196.8 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1341, allocations: 12.31 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.1341, allocations: 384 / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1343, allocations: 61.61 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1343, allocations: 3.906 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1343, allocations: 4 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1343, allocations: 0 / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.1344, allocations: 27.97 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.1348, allocations: 296.7 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1349, allocations: 50.5 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.135, allocations: 20.94 kB / 484.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.135, allocations: 0 / 484.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.135, allocations: 34.56 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.135, allocations: 0 / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00085/0.1359, allocations: 229.4 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1359, allocations: 51.41 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1361, allocations: 218.2 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1362, allocations: 25.7 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.1362, allocations: 112.1 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.1363, allocations: 35.61 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.1363, allocations: 17.72 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1365, allocations: 322.8 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.1366, allocations: 23.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.1367, allocations: 32.03 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1368, allocations: 60.83 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1368, allocations: 4 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002062/0.137, allocations: 97.58 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1371, allocations: 4 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1371, allocations: 4 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1371, allocations: 0 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.1372, allocations: 23.92 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1372, allocations: 3.938 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.1373, allocations: 7.984 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1373, allocations: 7.984 kB / 485.4 MB, free: 15.64 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.0001059/0.1374, allocations: 125.8 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.1374, allocations: 15.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1377, allocations: 115.2 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.1377, allocations: 4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1377, allocations: 7.922 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.1378, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.1383, allocations: 411.4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1383, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.1384, allocations: 19.92 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1384, allocations: 4 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1384, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1384, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1385, allocations: 4.031 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1387, allocations: 212.1 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.1388, allocations: 84.95 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1388, allocations: 11.94 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.1389, allocations: 7.922 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1389, allocations: 8 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1389, allocations: 4 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1391, allocations: 164.2 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1394, allocations: 19.98 kB / 486.6 MB, free: 14.34 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.002074/0.1414, allocations: 1.084 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1417, allocations: 63.97 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1417, allocations: 0 / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.1418, allocations: 39.91 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1422, allocations: 22.05 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1442, allocations: 1.659 MB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1445, allocations: 0.7119 MB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.1446, allocations: 16.64 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.1447, allocations: 31.42 kB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1447, allocations: 0 / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.1695, allocations: 3.033 MB / 493.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/7.995, allocations: 5.062 kB / 493.3 MB, free: 7.777 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1)