Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009317, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 177.2 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 223.1 MB, free: 5.238 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3827/0.3827, allocations: 43.57 MB / 315 MB, free: 8.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005151, allocations: 22.66 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1383, allocations: 58.85 MB / 443.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002505/0.1409, allocations: 1.503 MB / 445.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1423, allocations: 0.8548 MB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.1424, allocations: 0 / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.1429, allocations: 303.4 kB / 446.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.1432, allocations: 195.5 kB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1435, allocations: 131.8 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.1438, allocations: 231.4 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.1439, allocations: 13.53 kB / 446.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.144, allocations: 123.5 kB / 446.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1443, allocations: 191.5 kB / 447.1 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1443, allocations: 4 kB / 447.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1444, allocations: 35.98 kB / 447.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1445, allocations: 135.6 kB / 447.2 MB, free: 8.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1447, allocations: 184.4 kB / 447.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.145, allocations: 342.9 kB / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.145, allocations: 0 / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.145, allocations: 0 / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1451, allocations: 0 / 447.8 MB, free: 8.34 MB / 382.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.0008946/0.146, allocations: 0.6767 MB / 448.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.146, allocations: 8.031 kB / 448.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.1461, allocations: 42.67 kB / 448.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.1462, allocations: 52.28 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.1467, allocations: 439.9 kB / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1468, allocations: 12.36 kB / 449 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1468, allocations: 3.938 kB / 449 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.147, allocations: 83.38 kB / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.147, allocations: 4 kB / 449.1 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.147, allocations: 3.984 kB / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1471, allocations: 0 / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1472, allocations: 31.92 kB / 449.1 MB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.1476, allocations: 378.3 kB / 449.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.1479, allocations: 113.1 kB / 449.6 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.148, allocations: 41.69 kB / 449.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.1481, allocations: 0 / 449.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.1484, allocations: 113 kB / 449.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1484, allocations: 0 / 449.7 MB, free: 6.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005302/0.1489, allocations: 196.9 kB / 449.9 MB, free: 5.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.149, allocations: 81.09 kB / 450 MB, free: 5.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.1502, allocations: 1.034 MB / 451 MB, free: 4.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1503, allocations: 29.69 kB / 451.1 MB, free: 4.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1504, allocations: 236 kB / 451.3 MB, free: 4.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.1505, allocations: 35.62 kB / 451.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.1505, allocations: 13.72 kB / 451.3 MB, free: 4.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1507, allocations: 366.8 kB / 451.7 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.1508, allocations: 27.98 kB / 451.7 MB, free: 4.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.284e-05/0.1509, allocations: 59.41 kB / 451.8 MB, free: 4.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1511, allocations: 87.36 kB / 451.9 MB, free: 3.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1511, allocations: 7.938 kB / 451.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002863/0.1514, allocations: 165.5 kB / 452 MB, free: 3.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1514, allocations: 4 kB / 452 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1514, allocations: 4 kB / 452.1 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.1514, allocations: 4.062 kB / 452.1 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1516, allocations: 23.92 kB / 452.1 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1516, allocations: 4.062 kB / 452.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.1517, allocations: 15.94 kB / 452.1 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1517, allocations: 11.92 kB / 452.1 MB, free: 3.688 MB / 382.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.0002112/0.1519, allocations: 229.5 kB / 452.3 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.152, allocations: 51.34 kB / 452.4 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.1521, allocations: 56 kB / 452.4 MB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1521, allocations: 8 kB / 452.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1521, allocations: 3.984 kB / 452.4 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1521, allocations: 0 / 452.4 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.1524, allocations: 341.4 kB / 452.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1524, allocations: 0 / 452.8 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.1525, allocations: 11.98 kB / 452.8 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1525, allocations: 0 / 452.8 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1525, allocations: 0 / 452.8 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1525, allocations: 4 kB / 452.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1525, allocations: 0 / 452.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.1529, allocations: 217.1 kB / 453 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.153, allocations: 136.4 kB / 453.1 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.1531, allocations: 8 kB / 453.2 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.1532, allocations: 7.984 kB / 453.2 MB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.1532, allocations: 7.984 kB / 453.2 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.1532, allocations: 8 kB / 453.2 MB, free: 2.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008495/0.1541, allocations: 0.7722 MB / 453.9 MB, free: 1.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1541, allocations: 0 / 453.9 MB, free: 1.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1544, allocations: 43.98 kB / 454 MB, free: 1.707 MB / 382.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.001495/0.1559, allocations: 1.058 MB / 455 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.1562, allocations: 83.89 kB / 455.1 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1562, allocations: 0 / 455.1 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.664e-05/0.1563, allocations: 35.98 kB / 455.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.1567, allocations: 73.31 kB / 455.2 MB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2091/0.3658, allocations: 4.673 MB / 459.9 MB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.3662, allocations: 0.8473 MB / 460.8 MB, free: 43.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.3663, allocations: 53.97 kB / 460.8 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3665, allocations: 144.8 kB / 461 MB, free: 43.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3665, allocations: 0 / 461 MB, free: 43.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.3858, allocations: 8.17 MB / 469.1 MB, free: 43.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.386, allocations: 233.8 kB / 469.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.323, allocations: 7.938 kB / 469.4 MB, free: 43.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)