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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 115.2 kB / 17.08 MB, free: 6.012 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.001009/0.001009, allocations: 195 kB / 18.01 MB, free: 5.094 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.52/1.52, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2174/0.2174, allocations: 43.52 MB / 314.8 MB, free: 448 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.001354/0.001354, allocations: 71.89 kB / 442.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.119, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004068/0.1231, allocations: 1.999 MB / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1247, allocations: 0.9051 MB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1249, allocations: 3.938 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.1253, allocations: 47.69 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.1257, allocations: 75.48 kB / 0.4916 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1261, allocations: 123.7 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.1264, allocations: 195.4 kB / 0.4919 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1265, allocations: 37.64 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1267, allocations: 87.61 kB / 0.492 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1268, allocations: 71.69 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.1269, allocations: 15.94 kB / 0.4921 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.127, allocations: 47.97 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1272, allocations: 39.84 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.918e-05/0.1273, allocations: 71.61 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.1277, allocations: 199.2 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1277, allocations: 4 kB / 0.4924 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1277, allocations: 0 / 0.4924 GB, free: 7.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1277, allocations: 0 / 0.4924 GB, free: 7.801 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.00108/0.1288, allocations: 0.5482 MB / 0.4929 GB, free: 7.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.1289, allocations: 15.89 kB / 0.493 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.129, allocations: 24.69 kB / 0.493 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.1294, allocations: 252.8 kB / 0.4932 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1294, allocations: 8.281 kB / 0.4932 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.1294, allocations: 12.12 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.1299, allocations: 150.8 kB / 0.4934 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1299, allocations: 0 / 0.4934 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.1299, allocations: 8 kB / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1299, allocations: 0 / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.1304, allocations: 115.8 kB / 0.4935 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006948/0.1311, allocations: 0.5477 MB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.1318, allocations: 158.6 kB / 0.4942 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.132, allocations: 68.8 kB / 0.4943 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1321, allocations: 4 kB / 0.4943 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.1324, allocations: 139.2 kB / 0.4944 GB, free: 5.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.1324, allocations: 0 / 0.4944 GB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008939/0.1333, allocations: 253.2 kB / 0.4946 GB, free: 5.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1334, allocations: 59.34 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1336, allocations: 231.1 kB / 0.4949 GB, free: 5.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1337, allocations: 25.7 kB / 0.4949 GB, free: 4.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.1337, allocations: 132.3 kB / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.1338, allocations: 35.56 kB / 0.4951 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.1339, allocations: 33.7 kB / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.134, allocations: 330.8 kB / 0.4954 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.1343, allocations: 71.94 kB / 0.4955 GB, free: 4.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.1345, allocations: 100.2 kB / 0.4956 GB, free: 4.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.1351, allocations: 197.8 kB / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1351, allocations: 0 / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006647/0.1357, allocations: 254.9 kB / 0.496 GB, free: 3.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.1358, allocations: 37.7 kB / 0.4961 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1358, allocations: 0 / 0.4961 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1358, allocations: 4 kB / 0.4961 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.136, allocations: 39.89 kB / 0.4961 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1361, allocations: 4 kB / 0.4961 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.1362, allocations: 28.02 kB / 0.4961 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.1364, allocations: 7.984 kB / 0.4962 GB, free: 3.66 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.0001228/0.1365, allocations: 137.7 kB / 0.4963 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1366, allocations: 15.81 kB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.1366, allocations: 25.39 kB / 0.4963 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1366, allocations: 7.922 kB / 0.4963 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1367, allocations: 0 / 0.4963 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1367, allocations: 0 / 0.4963 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.137, allocations: 241.5 kB / 0.4966 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.137, allocations: 0 / 0.4966 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.1372, allocations: 23.97 kB / 0.4966 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1372, allocations: 0 / 0.4966 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1372, allocations: 7.938 kB / 0.4966 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1372, allocations: 3.938 kB / 0.4966 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1372, allocations: 0 / 0.4966 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.1381, allocations: 305 kB / 0.4969 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1382, allocations: 92.95 kB / 0.497 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.1382, allocations: 4 kB / 0.497 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1384, allocations: 27.91 kB / 0.497 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.1385, allocations: 20.03 kB / 0.497 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.1385, allocations: 4 kB / 0.497 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1387, allocations: 168.6 kB / 0.4972 GB, free: 2.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1387, allocations: 0 / 0.4972 GB, free: 2.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1389, allocations: 40 kB / 0.4972 GB, free: 2.453 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.001009/0.1399, allocations: 416.4 kB / 0.4976 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.1406, allocations: 227.1 kB / 0.4978 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1406, allocations: 0 / 0.4978 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.1409, allocations: 75.88 kB / 0.4979 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1413, allocations: 48.08 kB / 0.498 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.142, allocations: 338 kB / 0.4983 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1423, allocations: 0.7279 MB / 0.499 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.1424, allocations: 27.42 kB / 0.499 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1424, allocations: 4 kB / 0.499 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of Templates: time 0.005832/0.1482, allocations: 2.809 MB / 0.5018 GB, free: 13.78 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)