Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, 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.001268/0.001268, 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.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2562/0.2562, allocations: 46.11 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.002255/0.002256, allocations: 81.52 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.132, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003154/0.1352, allocations: 1.62 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1363, allocations: 0.5416 MB / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.1363, allocations: 0 / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.1366, allocations: 79.75 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1369, allocations: 103.6 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1372, allocations: 106.9 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1373, allocations: 79.81 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1375, allocations: 23.98 kB / 482.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.268e-05/0.1375, allocations: 39.84 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.1376, allocations: 47.83 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1376, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-05/0.1377, allocations: 55.91 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.1378, allocations: 15.92 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.1378, allocations: 31.75 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.138, allocations: 99.98 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.138, allocations: 0 / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.138, allocations: 0 / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.138, allocations: 4 kB / 483 MB, free: 2.309 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.0004807/0.1385, allocations: 411 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1386, allocations: 8.031 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.1386, allocations: 38.69 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.1387, allocations: 12.75 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1389, allocations: 200.1 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.1389, allocations: 384 / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.1389, allocations: 8.375 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1391, allocations: 57.61 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1391, allocations: 0 / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1391, allocations: 0 / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1391, allocations: 7.938 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1392, allocations: 31.97 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1396, allocations: 292.7 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1398, allocations: 58.58 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.1398, allocations: 16.84 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1398, allocations: 0 / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1399, allocations: 34.56 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1399, allocations: 0 / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009267/0.1408, allocations: 241.1 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.1409, allocations: 59.41 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1412, allocations: 203.3 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1412, allocations: 25.7 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.1413, allocations: 100.1 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.1413, allocations: 35.55 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.1414, allocations: 25.72 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.1416, allocations: 322.8 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.1417, allocations: 31.97 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.394e-05/0.1418, allocations: 23.98 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.142, allocations: 76.98 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.142, allocations: 4 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002497/0.1423, allocations: 121.5 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1423, allocations: 4 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1423, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1423, allocations: 3.938 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1425, allocations: 19.98 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1425, allocations: 7.875 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.738e-05/0.1425, allocations: 7.984 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1425, allocations: 0 / 485.5 MB, free: 15.63 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.0001252/0.1427, allocations: 137.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.1427, allocations: 11.81 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.1431, allocations: 123 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1431, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.1431, allocations: 3.938 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.1431, allocations: 3.984 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.1437, allocations: 419.3 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1437, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.1438, allocations: 27.86 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1438, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1439, allocations: 4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1439, allocations: 3.984 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1439, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.1442, allocations: 216.2 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.1442, allocations: 88.95 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1442, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.1443, allocations: 11.98 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.1444, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1444, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1445, allocations: 159.9 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1445, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1448, allocations: 27.98 kB / 486.7 MB, free: 14.3 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.002181/0.147, allocations: 1.099 MB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1473, allocations: 83.88 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1473, allocations: 0 / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1474, allocations: 39.92 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1478, allocations: 21.05 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1498, allocations: 1.669 MB / 489.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1502, allocations: 0.708 MB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.306e-05/0.1503, allocations: 24.95 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.1504, allocations: 31.42 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1504, allocations: 0 / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.1739, allocations: 3.042 MB / 493.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.372, allocations: 5.016 kB / 493.4 MB, free: 7.688 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1)