Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_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.002004/0.002004, allocations: 103.2 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002621/0.002621, allocations: 193.3 kB / 18.25 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.255/0.255, allocations: 44.17 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 64.66 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004333/0.1305, allocations: 1.85 MB / 470.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1322, allocations: 0.9433 MB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1324, allocations: 4 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.133, allocations: 299.4 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.1334, allocations: 199.5 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1339, allocations: 146.7 kB / 472.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.1342, allocations: 247.4 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.276e-05/0.1342, allocations: 13.55 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1344, allocations: 135.5 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.1346, allocations: 203.5 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1347, allocations: 8 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1348, allocations: 43.98 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1349, allocations: 127.6 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.1351, allocations: 154.8 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1354, allocations: 358.9 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1354, allocations: 0 / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1355, allocations: 4 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1355, allocations: 0 / 473.5 MB, free: 9.895 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000894/0.1364, allocations: 0.7269 MB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1364, allocations: 8.031 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.1365, allocations: 38.75 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.1365, allocations: 48.28 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.1371, allocations: 447.8 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1371, allocations: 8.312 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1371, allocations: 11.94 kB / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1373, allocations: 83.36 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1373, allocations: 0 / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1374, allocations: 4 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1374, allocations: 3.938 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1375, allocations: 31.91 kB / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.1379, allocations: 374.4 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.1381, allocations: 109.2 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.1382, allocations: 37.7 kB / 475.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1383, allocations: 3.938 kB / 475.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.1385, allocations: 113 kB / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1385, allocations: 0 / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004955/0.139, allocations: 193 kB / 475.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1391, allocations: 81.11 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.1401, allocations: 1.038 MB / 476.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1401, allocations: 25.7 kB / 476.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1403, allocations: 236.1 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.1403, allocations: 31.55 kB / 477.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.1404, allocations: 29.7 kB / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1405, allocations: 370.8 kB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.1406, allocations: 31.92 kB / 477.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.1407, allocations: 55.41 kB / 477.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1409, allocations: 91.86 kB / 477.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1409, allocations: 3.938 kB / 477.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002767/0.1412, allocations: 165 kB / 477.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1412, allocations: 8.062 kB / 477.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1412, allocations: 0 / 477.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1412, allocations: 7.984 kB / 477.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1414, allocations: 27.92 kB / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1414, allocations: 0 / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.1415, allocations: 11.91 kB / 477.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1415, allocations: 4 kB / 477.9 MB, free: 5.195 MB / 350.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.0002043/0.1417, allocations: 225.6 kB / 478.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.1418, allocations: 55.34 kB / 478.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.483e-05/0.1419, allocations: 60 kB / 478.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1419, allocations: 3.938 kB / 478.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1419, allocations: 0 / 478.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1419, allocations: 0 / 478.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.1422, allocations: 341.4 kB / 478.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1422, allocations: 0 / 478.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.1422, allocations: 15.88 kB / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1423, allocations: 0 / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1423, allocations: 11.98 kB / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1423, allocations: 0 / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1423, allocations: 4 kB / 478.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.1426, allocations: 201.3 kB / 478.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1427, allocations: 132.5 kB / 479 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.1428, allocations: 8 kB / 479 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.1429, allocations: 11.98 kB / 479 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.1429, allocations: 11.98 kB / 479 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.143, allocations: 4 kB / 479 MB, free: 4.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007158/0.1437, allocations: 0.7682 MB / 479.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1437, allocations: 0 / 479.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.144, allocations: 47.98 kB / 479.8 MB, free: 3.215 MB / 350.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.001439/0.1454, allocations: 1.048 MB / 480.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.1457, allocations: 95.83 kB / 480.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1457, allocations: 0 / 480.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1458, allocations: 35.98 kB / 481 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1462, allocations: 73.89 kB / 481.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.1514, allocations: 4.688 MB / 485.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.1518, allocations: 0.8504 MB / 486.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.152, allocations: 58.92 kB / 486.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.1522, allocations: 147.4 kB / 486.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1522, allocations: 0 / 486.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.1739, allocations: 8.655 MB / 495.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.1741, allocations: 237.6 kB / 495.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.209, allocations: 0 / 495.7 MB, free: 3.441 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)