Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001242/0.001243, allocations: 103.7 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.001328/0.001329, allocations: 212.6 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.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2213/0.2213, allocations: 46.12 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.00356/0.00356, allocations: 75.12 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1357, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003226/0.1389, allocations: 1.604 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.14, allocations: 0.5494 MB / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1401, allocations: 8 kB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1404, allocations: 79.7 kB / 482.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.1407, allocations: 99.66 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.141, allocations: 106.9 kB / 482.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1412, allocations: 87.8 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1413, allocations: 16 kB / 482.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.1414, allocations: 39.83 kB / 482.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1415, allocations: 59.81 kB / 482.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1415, allocations: 4 kB / 482.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.1416, allocations: 39.98 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.1417, allocations: 23.92 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.1417, allocations: 39.67 kB / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1419, allocations: 99.94 kB / 483.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1419, allocations: 3.984 kB / 483.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1419, allocations: 4 kB / 483.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.142, allocations: 4 kB / 483.1 MB, free: 2.281 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.0005/0.1425, allocations: 406.9 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1425, allocations: 8.031 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.1425, allocations: 34.75 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1426, allocations: 12.84 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1428, allocations: 200.8 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.1428, allocations: 384 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1428, allocations: 8.312 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.143, allocations: 61.61 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.143, allocations: 3.906 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.143, allocations: 0 / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.143, allocations: 0 / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.982e-05/0.1431, allocations: 31.97 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.1436, allocations: 308.7 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1437, allocations: 54.48 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.1437, allocations: 16.94 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1438, allocations: 4 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1438, allocations: 30.56 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.1438, allocations: 0 / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009068/0.1447, allocations: 244.9 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1448, allocations: 55.41 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.145, allocations: 214.3 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1451, allocations: 25.7 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.1451, allocations: 116 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1452, allocations: 31.61 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.1452, allocations: 21.72 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1454, allocations: 322.8 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.1455, allocations: 32.05 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1456, allocations: 27.97 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1457, allocations: 76.81 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1458, allocations: 0 / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002211/0.146, allocations: 109.6 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.146, allocations: 4 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.146, allocations: 4 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.146, allocations: 0 / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.1461, allocations: 19.92 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1462, allocations: 3.938 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.1462, allocations: 11.98 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1462, allocations: 4 kB / 485.5 MB, free: 15.59 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.000109/0.1463, allocations: 129.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.1464, allocations: 11.81 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.1467, allocations: 134.9 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1467, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1467, allocations: 3.938 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1467, allocations: 7.984 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.1473, allocations: 423.3 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1473, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.882e-05/0.1474, allocations: 23.88 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1474, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1474, allocations: 7.984 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1474, allocations: 4.031 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1474, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1477, allocations: 220.6 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.1478, allocations: 92.89 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1478, allocations: 4 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.1479, allocations: 7.984 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1479, allocations: 8 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1479, allocations: 7.984 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1481, allocations: 160.2 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1481, allocations: 0 / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1483, allocations: 24 kB / 486.8 MB, free: 14.23 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.002081/0.1504, allocations: 1.09 MB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.1507, allocations: 75.95 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1507, allocations: 0 / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.1508, allocations: 43.91 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1511, allocations: 15 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.1534, allocations: 1.707 MB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1538, allocations: 0.7196 MB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.031e-05/0.1539, allocations: 20.95 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.154, allocations: 31.42 kB / 490.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.154, allocations: 0 / 490.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.1829, allocations: 3.095 MB / 493.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.26, allocations: 5.062 kB / 493.6 MB, free: 7.539 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1)