Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_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.001564/0.001564, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001629/0.001629, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.2083/0.2083, allocations: 43.52 MB / 314.1 MB, free: 472 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.002108/0.002108, allocations: 71.89 kB / 441.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1165, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.0034/0.12, allocations: 1.786 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1215, allocations: 0.874 MB / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.1216, allocations: 4 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.1221, allocations: 311.3 kB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1225, allocations: 211.3 kB / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1229, allocations: 147.6 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.1232, allocations: 239.4 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.1233, allocations: 13.55 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1234, allocations: 131.5 kB / 0.4911 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1237, allocations: 195.5 kB / 0.4913 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.1237, allocations: 4 kB / 0.4913 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1239, allocations: 43.98 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.124, allocations: 127.6 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1242, allocations: 162.7 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.1246, allocations: 366.2 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1247, allocations: 4 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1247, allocations: 0 / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1247, allocations: 0 / 0.4919 GB, free: 7.648 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.001003/0.1257, allocations: 0.7423 MB / 0.4927 GB, free: 6.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1257, allocations: 11.89 kB / 0.4927 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.1258, allocations: 38.73 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.1259, allocations: 52.55 kB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.1265, allocations: 460.3 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1266, allocations: 8.375 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1266, allocations: 7.938 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1268, allocations: 83.38 kB / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1268, allocations: 0 / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1268, allocations: 3.984 kB / 0.4933 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1268, allocations: 4 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.127, allocations: 27.92 kB / 0.4933 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.1274, allocations: 374.4 kB / 0.4937 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.1277, allocations: 109.1 kB / 0.4938 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1278, allocations: 45.69 kB / 0.4938 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.1278, allocations: 4 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.1281, allocations: 105 kB / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.1281, allocations: 0 / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004978/0.1286, allocations: 193.3 kB / 0.4941 GB, free: 5.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/0.1287, allocations: 96.97 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.1298, allocations: 1.03 MB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1298, allocations: 33.69 kB / 0.4953 GB, free: 4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.13, allocations: 228.1 kB / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.1301, allocations: 31.77 kB / 0.4955 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.1302, allocations: 25.72 kB / 0.4955 GB, free: 3.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.1304, allocations: 374.8 kB / 0.4959 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.1305, allocations: 31.98 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.1306, allocations: 51.42 kB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.1308, allocations: 91.84 kB / 0.496 GB, free: 3.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1308, allocations: 7.938 kB / 0.4961 GB, free: 3.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003144/0.1311, allocations: 173.2 kB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1311, allocations: 4 kB / 0.4962 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1312, allocations: 4 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1312, allocations: 0 / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1313, allocations: 23.92 kB / 0.4963 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1313, allocations: 7.938 kB / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.1314, allocations: 7.984 kB / 0.4963 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1315, allocations: 4 kB / 0.4963 GB, free: 2.906 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.0002698/0.1317, allocations: 233.7 kB / 0.4965 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.1318, allocations: 47.67 kB / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.079e-05/0.1319, allocations: 63.98 kB / 0.4966 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1319, allocations: 0 / 0.4966 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1319, allocations: 7.938 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1319, allocations: 0 / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.1323, allocations: 349.3 kB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1323, allocations: 0 / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.1324, allocations: 4 kB / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1324, allocations: 4 kB / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1324, allocations: 8 kB / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1324, allocations: 0 / 0.497 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1324, allocations: 4 kB / 0.497 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.1328, allocations: 205.6 kB / 0.4972 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.133, allocations: 140.8 kB / 0.4973 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.133, allocations: 4 kB / 0.4973 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.1331, allocations: 8 kB / 0.4973 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.1332, allocations: 8.078 kB / 0.4973 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.1332, allocations: 7.938 kB / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008576/0.134, allocations: 0.776 MB / 0.4981 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1341, allocations: 0 / 0.4981 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1343, allocations: 40 kB / 0.4981 GB, free: 0.9219 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.002092/0.1364, allocations: 1.051 MB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.1367, allocations: 87.73 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1367, allocations: 0 / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.1368, allocations: 39.97 kB / 0.4993 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1373, allocations: 69.67 kB / 0.4993 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/0.1429, allocations: 4.519 MB / 0.5037 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.1435, allocations: 0.8427 MB / 0.5046 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.1436, allocations: 58.94 kB / 0.5046 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.1438, allocations: 143.4 kB / 0.5048 GB, free: 9.996 MB / 398.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1438, allocations: 0 / 0.5048 GB, free: 9.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.1777, allocations: 8.949 MB / 0.5135 GB, free: 1.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.616, allocations: 3.906 kB / 0.5135 GB, free: 1.012 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)