Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 104.8 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.001637/0.001637, 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.543/1.543, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.247/0.247, allocations: 46.1 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.002265/0.002265, allocations: 81.53 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.134, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003992/0.1381, allocations: 1.825 MB / 482 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.1402, allocations: 1.099 MB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.694e-05/0.1404, allocations: 0 / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.141, allocations: 311.2 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.1415, allocations: 263.2 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1418, allocations: 103.7 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.1422, allocations: 259.3 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.1423, allocations: 9.688 kB / 484.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1425, allocations: 135.5 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.1429, allocations: 195.4 kB / 484.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.143, allocations: 4 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1431, allocations: 47.97 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1433, allocations: 131.6 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1435, allocations: 166.7 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.1439, allocations: 363 kB / 485.1 MB, free: 216 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1439, allocations: 3.984 kB / 485.1 MB, free: 212 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1439, allocations: 0 / 485.1 MB, free: 212 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1439, allocations: 0 / 485.1 MB, free: 212 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00103/0.145, allocations: 0.7423 MB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.145, allocations: 8.031 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.1451, allocations: 34.75 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.1452, allocations: 52.28 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/0.1459, allocations: 455.8 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1459, allocations: 384 / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1459, allocations: 7.938 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1461, allocations: 83.36 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1461, allocations: 0 / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1462, allocations: 4 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1462, allocations: 0 / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1463, allocations: 35.91 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1467, allocations: 382.4 kB / 486.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.147, allocations: 109.1 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.872e-05/0.1471, allocations: 45.69 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1472, allocations: 0 / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.1475, allocations: 113 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1475, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000493/0.148, allocations: 200.9 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.1481, allocations: 81.09 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.1493, allocations: 1.057 MB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1493, allocations: 29.7 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.1495, allocations: 236.1 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.1496, allocations: 27.61 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.1496, allocations: 29.72 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1499, allocations: 370.8 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.15, allocations: 35.92 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1501, allocations: 54.17 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1503, allocations: 91.34 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1503, allocations: 7.938 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003099/0.1506, allocations: 161.5 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1506, allocations: 8 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1506, allocations: 0 / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1507, allocations: 0 / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1508, allocations: 35.98 kB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1508, allocations: 0 / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.665e-05/0.1509, allocations: 11.92 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1509, allocations: 4.062 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002371/0.1512, allocations: 225.7 kB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.1513, allocations: 55.33 kB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1514, allocations: 68.12 kB / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1514, allocations: 0 / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1514, allocations: 4 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1514, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.1518, allocations: 345.4 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1518, allocations: 0 / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.1518, allocations: 11.94 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1518, allocations: 4 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.1519, allocations: 7.984 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1519, allocations: 0 / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1519, allocations: 0 / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.1522, allocations: 209.1 kB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.1524, allocations: 136.4 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.1524, allocations: 8 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.1525, allocations: 7.984 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.1526, allocations: 11.98 kB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1526, allocations: 4 kB / 490.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009016/0.1535, allocations: 0.7839 MB / 491.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1535, allocations: 0 / 491.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1538, allocations: 44 kB / 491.5 MB, free: 9.449 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002086/0.1559, allocations: 1.046 MB / 492.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1562, allocations: 83.84 kB / 492.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1562, allocations: 0 / 492.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1563, allocations: 40.09 kB / 492.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.1567, allocations: 81.39 kB / 492.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.1624, allocations: 4.686 MB / 497.4 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.1628, allocations: 0.8427 MB / 498.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.163, allocations: 74.8 kB / 498.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.1632, allocations: 147.4 kB / 498.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1632, allocations: 0 / 498.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09127/0.2545, allocations: 8.917 MB / 0.4955 GB, free: 9.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.506, allocations: 18.39 kB / 0.4955 GB, free: 9.594 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)