Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009653/0.0009654, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.188/1.188, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007067/0.0007064, allocations: 89.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3201/0.3201, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004005, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 58.86 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00232/0.1302, allocations: 1.472 MB / 492.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1318, allocations: 0.8201 MB / 493.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.132, allocations: 8 kB / 493.2 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006817/0.1327, allocations: 291.4 kB / 493.5 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.1332, allocations: 191.5 kB / 493.7 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.1336, allocations: 123.7 kB / 493.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.1341, allocations: 203.3 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.548e-05/0.1342, allocations: 13.55 kB / 494 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.1344, allocations: 115.6 kB / 494.1 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.1347, allocations: 155.6 kB / 494.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1347, allocations: 8 kB / 494.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.1348, allocations: 35.98 kB / 494.3 MB, free: 7.348 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.135, allocations: 131.6 kB / 494.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1352, allocations: 160.7 kB / 494.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.1355, allocations: 263.8 kB / 494.9 MB, free: 6.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1355, allocations: 4 kB / 494.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1356, allocations: 0 / 494.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.1356, allocations: 0 / 494.9 MB, free: 6.793 MB / 378.7 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.001018/0.1366, allocations: 0.665 MB / 495.6 MB, free: 6.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1367, allocations: 8.031 kB / 495.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.1367, allocations: 34.75 kB / 495.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.233e-05/0.1368, allocations: 44.38 kB / 495.6 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.1374, allocations: 447.8 kB / 496.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1375, allocations: 384 / 496.1 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.1375, allocations: 7.938 kB / 496.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1377, allocations: 87.34 kB / 496.2 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1377, allocations: 4 kB / 496.2 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1377, allocations: 4 kB / 496.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1378, allocations: 0 / 496.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1379, allocations: 27.92 kB / 496.2 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1383, allocations: 382.3 kB / 496.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.1386, allocations: 109.2 kB / 496.7 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.1387, allocations: 41.64 kB / 496.7 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1388, allocations: 4 kB / 496.7 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.1391, allocations: 112.9 kB / 496.8 MB, free: 4.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1391, allocations: 0 / 496.8 MB, free: 4.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005123/0.1396, allocations: 193 kB / 497 MB, free: 4.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.1396, allocations: 77.11 kB / 497.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1408, allocations: 1.018 MB / 498.1 MB, free: 3.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1408, allocations: 25.7 kB / 498.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.141, allocations: 228 kB / 498.4 MB, free: 3.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.1411, allocations: 35.64 kB / 498.4 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.1411, allocations: 4 kB / 498.4 MB, free: 3.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1412, allocations: 362.8 kB / 498.8 MB, free: 2.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.1413, allocations: 27.98 kB / 498.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1414, allocations: 63.41 kB / 498.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1416, allocations: 87.36 kB / 498.9 MB, free: 2.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1416, allocations: 3.938 kB / 498.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003068/0.142, allocations: 161 kB / 499.1 MB, free: 2.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.142, allocations: 8 kB / 499.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.142, allocations: 0 / 499.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.142, allocations: 0 / 499.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1421, allocations: 28.55 kB / 499.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1422, allocations: 4.062 kB / 499.1 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1423, allocations: 15.91 kB / 499.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1423, allocations: 4 kB / 499.2 MB, free: 2.23 MB / 378.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.1425, allocations: 221.6 kB / 499.4 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.1426, allocations: 47.34 kB / 499.4 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.1427, allocations: 67.84 kB / 499.5 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1427, allocations: 0 / 499.5 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1427, allocations: 4 kB / 499.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1427, allocations: 4 kB / 499.5 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.143, allocations: 333.4 kB / 499.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1431, allocations: 0 / 499.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.1431, allocations: 15.92 kB / 499.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1431, allocations: 0 / 499.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1431, allocations: 8 kB / 499.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1431, allocations: 0 / 499.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1431, allocations: 0 / 499.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.1435, allocations: 205.2 kB / 0.4883 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.1436, allocations: 152.3 kB / 0.4885 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.1437, allocations: 0 / 0.4885 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.1438, allocations: 7.984 kB / 0.4885 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.1438, allocations: 19.97 kB / 0.4885 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1439, allocations: 4 kB / 0.4885 GB, free: 1.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007831/0.1447, allocations: 0.7448 MB / 0.4892 GB, free: 328 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1447, allocations: 0 / 0.4892 GB, free: 328 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.145, allocations: 44 kB / 0.4893 GB, free: 284 kB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2257/0.3707, allocations: 1.036 MB / 0.4903 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.371, allocations: 83.42 kB / 0.4904 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.371, allocations: 3.781 kB / 0.4904 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3711, allocations: 39.27 kB / 0.4904 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.3717, allocations: 57.41 kB / 0.4905 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.3762, allocations: 2.878 MB / 0.4933 GB, free: 41.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.3766, allocations: 0.8379 MB / 0.4941 GB, free: 41.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.3769, allocations: 143.5 kB / 0.4942 GB, free: 41.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3769, allocations: 0 / 0.4942 GB, free: 41.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/3.236, allocations: 7.029 MB / 0.5011 GB, free: 40.2 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)