Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001274/0.001274, allocations: 103.8 kB / 16.4 MB, free: 6.461 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.001264/0.001264, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2135/0.2135, allocations: 43.52 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.002043/0.002043, allocations: 77.45 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1231, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003478/0.1266, allocations: 1.994 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1283, allocations: 0.9012 MB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1284, allocations: 0 / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.1288, allocations: 47.69 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1291, allocations: 71.56 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1295, allocations: 127.7 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.1298, allocations: 199.4 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.13, allocations: 25.66 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.1301, allocations: 87.61 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.1303, allocations: 75.62 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.1303, allocations: 12 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1305, allocations: 51.98 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.1305, allocations: 43.77 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.907e-05/0.1307, allocations: 71.59 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.131, allocations: 203.1 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.131, allocations: 0 / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.131, allocations: 0 / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.131, allocations: 0 / 0.4913 GB, free: 8.297 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001076/0.1321, allocations: 0.5678 MB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1321, allocations: 11.89 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.1322, allocations: 42.73 kB / 0.4919 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.1322, allocations: 16.84 kB / 0.4919 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1326, allocations: 248.9 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1326, allocations: 12.36 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1327, allocations: 7.938 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.1331, allocations: 152.2 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1331, allocations: 3.938 kB / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1332, allocations: 4 kB / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1332, allocations: 8 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.1336, allocations: 111.8 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.1343, allocations: 0.5361 MB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.135, allocations: 162.5 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.1353, allocations: 72.8 kB / 0.4932 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1353, allocations: 3.984 kB / 0.4932 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000494/0.1358, allocations: 139.3 kB / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.1358, allocations: 0 / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009283/0.1367, allocations: 269.2 kB / 0.4936 GB, free: 5.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.1368, allocations: 51.41 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.137, allocations: 223.2 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1371, allocations: 29.7 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1372, allocations: 124.4 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.1372, allocations: 43.69 kB / 0.494 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.1373, allocations: 37.7 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1375, allocations: 326.8 kB / 0.4944 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1378, allocations: 67.94 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.1381, allocations: 106.9 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.1386, allocations: 193.8 kB / 0.4947 GB, free: 4.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1386, allocations: 0 / 0.4947 GB, free: 4.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006653/0.1393, allocations: 255 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.1393, allocations: 33.69 kB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.1393, allocations: 4 kB / 0.495 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.1394, allocations: 8.062 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.1395, allocations: 43.84 kB / 0.495 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1396, allocations: 7.938 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.1398, allocations: 27.86 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.1398, allocations: 12 kB / 0.4951 GB, free: 4.078 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001415/0.1399, allocations: 129.8 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.14, allocations: 15.91 kB / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.14, allocations: 21.41 kB / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.1401, allocations: 3.938 kB / 0.4952 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1401, allocations: 4 kB / 0.4952 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.1401, allocations: 7.969 kB / 0.4953 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.1403, allocations: 229.5 kB / 0.4955 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1403, allocations: 0 / 0.4955 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.1405, allocations: 31.91 kB / 0.4955 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1405, allocations: 4 kB / 0.4955 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1405, allocations: 0 / 0.4955 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1405, allocations: 3.938 kB / 0.4955 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1406, allocations: 7.984 kB / 0.4955 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009213/0.1415, allocations: 292.8 kB / 0.4958 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.1416, allocations: 105 kB / 0.4959 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.1416, allocations: 8 kB / 0.4959 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1418, allocations: 23.91 kB / 0.4959 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.1419, allocations: 15.98 kB / 0.4959 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.1419, allocations: 8 kB / 0.496 GB, free: 3.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1421, allocations: 168.5 kB / 0.4961 GB, free: 2.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1421, allocations: 0 / 0.4961 GB, free: 2.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1423, allocations: 43.94 kB / 0.4962 GB, free: 2.871 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002656/0.145, allocations: 1.144 MB / 0.4973 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.1457, allocations: 215.2 kB / 0.4975 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1457, allocations: 0 / 0.4975 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.146, allocations: 84.12 kB / 0.4976 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1464, allocations: 43.91 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.1499, allocations: 2.166 MB / 0.4997 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1503, allocations: 0.7241 MB / 0.5004 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.1504, allocations: 21.55 kB / 0.5004 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1505, allocations: 59.34 kB / 0.5005 GB, free: 14.3 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1505, allocations: 0 / 0.5005 GB, free: 14.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.18, allocations: 4.931 MB / 0.5053 GB, free: 9.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.221, allocations: 4.062 kB / 0.5053 GB, free: 9.34 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)