Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.0008256/0.0008256, allocations: 102.6 kB / 16.02 MB, free: 76 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.0007669/0.000767, allocations: 185.4 kB / 16.92 MB, free: 6.918 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.41/1.41, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.34/0.34, allocations: 43.58 MB / 315 MB, free: 9.109 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.0005311/0.0005312, allocations: 16 kB / 384.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.87 MB / 443.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002674/0.1382, allocations: 1.503 MB / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1396, allocations: 0.8471 MB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.1397, allocations: 3.938 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.1403, allocations: 299.4 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1406, allocations: 183.6 kB / 446.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1409, allocations: 131.8 kB / 446.5 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.1412, allocations: 235.3 kB / 446.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.997e-05/0.1413, allocations: 17.53 kB / 446.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1415, allocations: 123.5 kB / 446.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1417, allocations: 176 kB / 447 MB, free: 9.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1417, allocations: 4 kB / 447.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.1419, allocations: 43.97 kB / 447.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.142, allocations: 132.5 kB / 447.2 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1421, allocations: 168.5 kB / 447.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1425, allocations: 338.9 kB / 447.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1425, allocations: 4 kB / 447.7 MB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1425, allocations: 0 / 447.7 MB, free: 8.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1426, allocations: 0 / 447.7 MB, free: 8.582 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.0009483/0.1435, allocations: 0.6688 MB / 448.4 MB, free: 7.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1436, allocations: 11.97 kB / 448.4 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.1436, allocations: 34.75 kB / 448.4 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.1437, allocations: 44.38 kB / 448.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.1443, allocations: 443.8 kB / 448.9 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1443, allocations: 8.375 kB / 448.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1443, allocations: 7.938 kB / 448.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1445, allocations: 95.28 kB / 449 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1446, allocations: 0 / 449 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1446, allocations: 4 kB / 449 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1446, allocations: 0 / 449 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1447, allocations: 23.98 kB / 449.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.1451, allocations: 370.4 kB / 449.4 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1454, allocations: 113.1 kB / 449.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1455, allocations: 41.69 kB / 449.6 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1455, allocations: 4 kB / 449.6 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.1458, allocations: 105 kB / 449.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1458, allocations: 0 / 449.7 MB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000487/0.1463, allocations: 193 kB / 449.9 MB, free: 6.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.1464, allocations: 81.09 kB / 449.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.1474, allocations: 1.011 MB / 450.9 MB, free: 5.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1474, allocations: 29.7 kB / 451 MB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.1476, allocations: 232 kB / 451.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.1477, allocations: 27.64 kB / 451.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1477, allocations: 17.72 kB / 451.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1479, allocations: 370.8 kB / 451.6 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.148, allocations: 23.98 kB / 451.6 MB, free: 4.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.1481, allocations: 55.41 kB / 451.7 MB, free: 4.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1483, allocations: 91.36 kB / 451.8 MB, free: 4.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1483, allocations: 3.938 kB / 451.8 MB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002809/0.1486, allocations: 165.5 kB / 451.9 MB, free: 4.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1486, allocations: 11.94 kB / 452 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1486, allocations: 0 / 452 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1486, allocations: 4.062 kB / 452 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1487, allocations: 27.98 kB / 452 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1488, allocations: 64 / 452 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.1489, allocations: 11.91 kB / 452 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1489, allocations: 11.94 kB / 452 MB, free: 3.996 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.0002193/0.1491, allocations: 229.5 kB / 452.2 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.1493, allocations: 47.34 kB / 452.3 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.1493, allocations: 59.84 kB / 452.3 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1494, allocations: 7.984 kB / 452.3 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1494, allocations: 0 / 452.3 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1494, allocations: 4 kB / 452.3 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.1497, allocations: 345.3 kB / 452.7 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1497, allocations: 0 / 452.7 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1497, allocations: 8 kB / 452.7 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1497, allocations: 0 / 452.7 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1497, allocations: 0 / 452.7 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1498, allocations: 7.984 kB / 452.7 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1498, allocations: 0 / 452.7 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.1501, allocations: 197.3 kB / 452.9 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1502, allocations: 144.4 kB / 453 MB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.1503, allocations: 3.984 kB / 453 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.1503, allocations: 8 kB / 453 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1504, allocations: 11.98 kB / 453.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1504, allocations: 4 kB / 453.1 MB, free: 2.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007922/0.1512, allocations: 0.7565 MB / 453.8 MB, free: 2.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1512, allocations: 0 / 453.8 MB, free: 2.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1515, allocations: 44 kB / 453.9 MB, free: 2.043 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.001554/0.1531, allocations: 1.056 MB / 454.9 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.1533, allocations: 83.89 kB / 455 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1533, allocations: 0 / 455 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1534, allocations: 39.92 kB / 455 MB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.1539, allocations: 66.2 kB / 455.1 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2131/0.367, allocations: 4.567 MB / 459.7 MB, free: 44.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3673, allocations: 0.8386 MB / 460.5 MB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.3675, allocations: 58.78 kB / 460.6 MB, free: 44.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3677, allocations: 144.2 kB / 460.7 MB, free: 44.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3677, allocations: 0 / 460.7 MB, free: 44.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.3853, allocations: 8.018 MB / 468.7 MB, free: 43.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/0.3854, allocations: 239 kB / 469 MB, free: 43.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.415, allocations: 0 / 469 MB, free: 43.38 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)