Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.001282/0.001282, allocations: 100.6 kB / 16.4 MB, free: 6.438 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.001269/0.001269, allocations: 191.8 kB / 17.34 MB, free: 5.711 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.416/1.416, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2136/0.2136, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.001979/0.001979, allocations: 73.45 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003785/0.1143, allocations: 1.785 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1162, allocations: 0.8857 MB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1164, allocations: 0 / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.117, allocations: 307.3 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004781/0.1176, allocations: 211.4 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.118, allocations: 143.6 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.1184, allocations: 243.4 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.1185, allocations: 25.45 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1188, allocations: 123.6 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.1191, allocations: 195.5 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.1191, allocations: 8 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1193, allocations: 39.98 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.1195, allocations: 139.6 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.1196, allocations: 142.8 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.1201, allocations: 378.2 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1201, allocations: 0 / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1202, allocations: 0 / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1202, allocations: 0 / 0.4919 GB, free: 7.613 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.001013/0.1212, allocations: 0.7423 MB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1212, allocations: 11.89 kB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.586e-05/0.1213, allocations: 34.69 kB / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.1214, allocations: 56.61 kB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.1221, allocations: 456.3 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1221, allocations: 4.375 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1221, allocations: 3.938 kB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.1223, allocations: 95.36 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1223, allocations: 0 / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1224, allocations: 0 / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1224, allocations: 0 / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1225, allocations: 35.91 kB / 0.4933 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.1229, allocations: 378.4 kB / 0.4937 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1232, allocations: 105.2 kB / 0.4938 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-05/0.1233, allocations: 41.64 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1233, allocations: 4 kB / 0.4938 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.1235, allocations: 109.1 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1236, allocations: 0 / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004655/0.124, allocations: 197.2 kB / 0.4941 GB, free: 5.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.1241, allocations: 77.11 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1252, allocations: 1.038 MB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1252, allocations: 29.7 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1254, allocations: 236.1 kB / 0.4955 GB, free: 3.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1255, allocations: 31.73 kB / 0.4955 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.1256, allocations: 29.7 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1257, allocations: 370.7 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.1258, allocations: 24.48 kB / 0.4959 GB, free: 3.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1259, allocations: 59.41 kB / 0.496 GB, free: 3.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.1261, allocations: 95.36 kB / 0.4961 GB, free: 3.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1261, allocations: 3.938 kB / 0.4961 GB, free: 3.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003042/0.1264, allocations: 169.2 kB / 0.4962 GB, free: 2.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1265, allocations: 8 kB / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1265, allocations: 0 / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1265, allocations: 0 / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1266, allocations: 35.92 kB / 0.4963 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1266, allocations: 0 / 0.4963 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.1267, allocations: 8 kB / 0.4963 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1268, allocations: 4 kB / 0.4963 GB, free: 2.875 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.0002265/0.127, allocations: 233.6 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.1271, allocations: 51.67 kB / 0.4965 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.1272, allocations: 60 kB / 0.4966 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1272, allocations: 0 / 0.4966 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1272, allocations: 4 kB / 0.4966 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1272, allocations: 0 / 0.4966 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.1275, allocations: 353.3 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1275, allocations: 0 / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.1276, allocations: 11.94 kB / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1276, allocations: 3.984 kB / 0.497 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1276, allocations: 8.125 kB / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1276, allocations: 0 / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1276, allocations: 0 / 0.497 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.128, allocations: 209.5 kB / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.1281, allocations: 136.8 kB / 0.4973 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.1282, allocations: 4 kB / 0.4973 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.1282, allocations: 7.984 kB / 0.4973 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1283, allocations: 11.98 kB / 0.4973 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1283, allocations: 4 kB / 0.4973 GB, free: 1.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008559/0.1292, allocations: 0.7682 MB / 0.4981 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1292, allocations: 8 kB / 0.4981 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1295, allocations: 40 kB / 0.4981 GB, free: 0.8867 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.00207/0.1315, allocations: 1.046 MB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.1318, allocations: 83.91 kB / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1318, allocations: 0 / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1319, allocations: 39.92 kB / 0.4993 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.1324, allocations: 74.14 kB / 0.4993 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.1378, allocations: 4.52 MB / 0.5037 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.1383, allocations: 0.8388 MB / 0.5046 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.1385, allocations: 62.92 kB / 0.5046 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.1387, allocations: 147.4 kB / 0.5048 GB, free: 9.953 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1387, allocations: 8 kB / 0.5048 GB, free: 9.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.1712, allocations: 8.929 MB / 0.5135 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.578, allocations: 11.91 kB / 0.5135 GB, free: 0.9805 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)