Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",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.0008451/0.0008451, allocations: 175.6 kB / 16.72 MB, free: 4.93 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.217/1.217, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007647/0.0007645, allocations: 96 kB / 271.2 MB, free: 8.238 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.3734/0.3734, allocations: 43.57 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 58.86 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001919/0.1188, allocations: 1.479 MB / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1199, allocations: 0.8201 MB / 493.2 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.12, allocations: 3.938 kB / 493.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.1205, allocations: 283.4 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.1208, allocations: 187.5 kB / 493.7 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1211, allocations: 127.8 kB / 493.8 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1213, allocations: 207.3 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.1214, allocations: 17.53 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1215, allocations: 111.6 kB / 494.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1217, allocations: 159.5 kB / 494.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1218, allocations: 4 kB / 494.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.1219, allocations: 39.98 kB / 494.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.122, allocations: 131.6 kB / 494.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1221, allocations: 160.7 kB / 494.6 MB, free: 7.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1224, allocations: 267.8 kB / 494.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1224, allocations: 0 / 494.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1224, allocations: 4 kB / 494.9 MB, free: 6.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1224, allocations: 0 / 494.9 MB, free: 6.777 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.000794/0.1232, allocations: 0.6572 MB / 495.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1233, allocations: 8.031 kB / 495.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.1233, allocations: 34.73 kB / 495.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.1234, allocations: 48.38 kB / 495.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.1239, allocations: 439.8 kB / 496.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1239, allocations: 4.375 kB / 496.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.124, allocations: 15.92 kB / 496.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1242, allocations: 75.38 kB / 496.2 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1242, allocations: 0 / 496.2 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1242, allocations: 8 kB / 496.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1242, allocations: 0 / 496.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1243, allocations: 31.91 kB / 496.2 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.1247, allocations: 382.3 kB / 496.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.125, allocations: 113 kB / 496.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.1251, allocations: 37.7 kB / 496.7 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1251, allocations: 4 kB / 496.7 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1254, allocations: 109 kB / 496.8 MB, free: 4.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1254, allocations: 0 / 496.8 MB, free: 4.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004379/0.1258, allocations: 189.1 kB / 497 MB, free: 4.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1259, allocations: 85.05 kB / 497.1 MB, free: 4.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.1268, allocations: 1.01 MB / 498.1 MB, free: 3.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1268, allocations: 29.7 kB / 498.2 MB, free: 3.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1269, allocations: 232 kB / 498.4 MB, free: 3.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.127, allocations: 27.64 kB / 498.4 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.127, allocations: 4 kB / 498.4 MB, free: 3.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1271, allocations: 366.8 kB / 498.8 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.1272, allocations: 27.98 kB / 498.8 MB, free: 2.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.1273, allocations: 55.42 kB / 498.8 MB, free: 2.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1275, allocations: 95.84 kB / 498.9 MB, free: 2.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1275, allocations: 3.938 kB / 498.9 MB, free: 2.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002592/0.1278, allocations: 161.1 kB / 499.1 MB, free: 2.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1278, allocations: 4 kB / 499.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1278, allocations: 4 kB / 499.1 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1278, allocations: 3.984 kB / 499.1 MB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1279, allocations: 19.94 kB / 499.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1279, allocations: 4 kB / 499.1 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.128, allocations: 15.89 kB / 499.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1281, 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.0001917/0.1283, allocations: 229.5 kB / 499.4 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.1283, allocations: 51.34 kB / 499.4 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.1284, allocations: 59.84 kB / 499.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1284, allocations: 4 kB / 499.5 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1284, allocations: 3.938 kB / 499.5 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1284, allocations: 0 / 499.5 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.1287, allocations: 333.4 kB / 499.8 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1287, allocations: 4 kB / 499.8 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1287, allocations: 7.984 kB / 499.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1287, allocations: 0 / 499.8 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1288, allocations: 8 kB / 499.8 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1288, allocations: 7.938 kB / 499.9 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1288, allocations: 0 / 499.9 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.1291, allocations: 201.4 kB / 0.4883 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1292, allocations: 152.3 kB / 0.4885 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.1292, allocations: 4 kB / 0.4885 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.1293, allocations: 7.984 kB / 0.4885 GB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.1294, allocations: 12 kB / 0.4885 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.1294, allocations: 7.984 kB / 0.4885 GB, free: 1.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006694/0.1301, allocations: 0.7448 MB / 0.4892 GB, free: 324 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1301, allocations: 0 / 0.4892 GB, free: 324 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000246/0.1303, allocations: 40 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.191/0.3213, allocations: 1.045 MB / 0.4903 GB, free: 42.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.3216, allocations: 83.36 kB / 0.4904 GB, free: 42.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3216, allocations: 3.844 kB / 0.4904 GB, free: 42.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.897e-05/0.3217, allocations: 33.05 kB / 0.4904 GB, free: 42.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.3222, allocations: 63.19 kB / 0.4905 GB, free: 42.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.3261, allocations: 2.876 MB / 0.4933 GB, free: 41.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3265, allocations: 0.8409 MB / 0.4941 GB, free: 41.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.3267, allocations: 139.1 kB / 0.4942 GB, free: 41.23 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3267, allocations: 1.438 kB / 0.4942 GB, free: 41.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.836/3.163, allocations: 7.021 MB / 0.5011 GB, free: 40.23 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)