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.001269/0.001269, allocations: 96.14 kB / 15.87 MB, free: 16 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.001161/0.001161, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.488/1.488, allocations: 205.1 MB / 222.6 MB, free: 4.988 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.3598/0.3598, allocations: 43.5 MB / 313.5 MB, free: 8.57 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.001511/0.001511, allocations: 71.89 kB / 382.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 57.78 MB / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003899/0.1269, allocations: 1.842 MB / 441.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1285, allocations: 0.8703 MB / 442.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1287, allocations: 3.938 kB / 442.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.1292, allocations: 291.4 kB / 442.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1296, allocations: 195.5 kB / 443.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.13, allocations: 127.8 kB / 443.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.1303, allocations: 227.4 kB / 443.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.1304, allocations: 25.52 kB / 443.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1305, allocations: 115.5 kB / 443.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1307, allocations: 184 kB / 443.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.1308, allocations: 4 kB / 443.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1309, allocations: 43.92 kB / 443.8 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.131, allocations: 132.5 kB / 444 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.1312, allocations: 138.9 kB / 444.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1315, allocations: 343 kB / 444.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1315, allocations: 0 / 444.4 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1315, allocations: 4 kB / 444.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1315, allocations: 0 / 444.4 MB, free: 10.5 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.000857/0.1324, allocations: 0.7268 MB / 445.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1324, allocations: 8.031 kB / 445.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.1325, allocations: 38.75 kB / 445.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.1326, allocations: 44.38 kB / 445.2 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.133, allocations: 443.8 kB / 445.7 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1331, allocations: 4.375 kB / 445.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.1331, allocations: 7.938 kB / 445.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1333, allocations: 91.25 kB / 445.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1333, allocations: 0 / 445.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1333, allocations: 3.984 kB / 445.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1333, allocations: 0 / 445.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1334, allocations: 27.98 kB / 445.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.1338, allocations: 374.4 kB / 446.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.134, allocations: 105.1 kB / 446.3 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.1341, allocations: 41.69 kB / 446.3 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1341, allocations: 8 kB / 446.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.1344, allocations: 109 kB / 446.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1344, allocations: 0 / 446.4 MB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004446/0.1349, allocations: 193 kB / 446.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1349, allocations: 77.11 kB / 446.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009013/0.1358, allocations: 1.014 MB / 447.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1359, allocations: 29.7 kB / 447.7 MB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.136, allocations: 232 kB / 448 MB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.1361, allocations: 31.62 kB / 448 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.1361, allocations: 25.72 kB / 448 MB, free: 6.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1363, allocations: 366.8 kB / 448.4 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.1364, allocations: 27.98 kB / 448.4 MB, free: 6.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.1365, allocations: 67.34 kB / 448.5 MB, free: 6.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.1366, allocations: 87.86 kB / 448.6 MB, free: 6.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1366, allocations: 3.938 kB / 448.6 MB, free: 6.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002719/0.1369, allocations: 173 kB / 448.7 MB, free: 5.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1369, allocations: 4 kB / 448.7 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1369, allocations: 0 / 448.7 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.137, allocations: 4 kB / 448.7 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1371, allocations: 19.98 kB / 448.8 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1371, allocations: 4 kB / 448.8 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.1372, allocations: 11.91 kB / 448.8 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1372, allocations: 7.938 kB / 448.8 MB, free: 5.848 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.0001791/0.1374, allocations: 229.5 kB / 449 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.1375, allocations: 51.38 kB / 449.1 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/0.1375, allocations: 59.84 kB / 449.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1375, allocations: 0 / 449.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1375, allocations: 0 / 449.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1376, allocations: 7.938 kB / 449.1 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1378, allocations: 337.3 kB / 449.5 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1378, allocations: 0 / 449.5 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.1379, allocations: 12 kB / 449.5 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1379, allocations: 0 / 449.5 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1379, allocations: 0 / 449.5 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1379, allocations: 8 kB / 449.5 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1379, allocations: 4.062 kB / 449.5 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.1382, allocations: 201.3 kB / 449.7 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1383, allocations: 136.4 kB / 449.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.1384, allocations: 7.938 kB / 449.8 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1384, allocations: 4 kB / 449.8 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.1385, allocations: 11.98 kB / 449.8 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1385, allocations: 7.984 kB / 449.8 MB, free: 4.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006605/0.1392, allocations: 0.7487 MB / 450.6 MB, free: 3.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1392, allocations: 0 / 450.6 MB, free: 3.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1394, allocations: 47.98 kB / 450.6 MB, free: 3.898 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.001318/0.1408, allocations: 1.05 MB / 451.7 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.141, allocations: 83.89 kB / 451.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.141, allocations: 0 / 451.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1411, allocations: 39.92 kB / 451.8 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1415, allocations: 78.05 kB / 451.9 MB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1972/0.3387, allocations: 4.569 MB / 456.5 MB, free: 48.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.339, allocations: 0.8372 MB / 457.3 MB, free: 47.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.3392, allocations: 54.77 kB / 457.3 MB, free: 47.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3393, allocations: 144.5 kB / 457.5 MB, free: 47.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3393, allocations: 0 / 457.5 MB, free: 47.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.3574, allocations: 8.319 MB / 465.8 MB, free: 46.56 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.3577, allocations: 253.4 kB / 466.1 MB, free: 46.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.15, allocations: 0 / 466.1 MB, free: 46.29 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)