Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001234/0.001234, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001267/0.001267, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 242.5 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2072/0.2072, allocations: 44.18 MB / 336.8 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 68.59 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003466/0.1241, allocations: 2.051 MB / 471.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1256, allocations: 0.9627 MB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.1257, allocations: 3.938 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.1261, allocations: 35.83 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1263, allocations: 63.69 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1266, allocations: 123.7 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1269, allocations: 183.4 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.127, allocations: 33.67 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1271, allocations: 75.62 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1272, allocations: 71.62 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1273, allocations: 4 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1274, allocations: 51.91 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.1275, allocations: 31.84 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/0.1276, allocations: 67.53 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1278, allocations: 151.9 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1278, allocations: 0 / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1278, allocations: 0 / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1278, allocations: 0 / 473.1 MB, free: 10.91 MB / 350.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.0009125/0.1287, allocations: 0.5488 MB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1288, allocations: 8.031 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.1288, allocations: 20.66 kB / 473.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1291, allocations: 248.8 kB / 473.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1292, allocations: 8.375 kB / 473.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1292, allocations: 12.12 kB / 473.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.1296, allocations: 146.7 kB / 474.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1296, allocations: 3.938 kB / 474.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1297, allocations: 8 kB / 474.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1297, allocations: 4 kB / 474.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.1301, allocations: 103.9 kB / 474.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.1307, allocations: 0.5515 MB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.1314, allocations: 158.6 kB / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.1316, allocations: 76.72 kB / 475 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1316, allocations: 4 kB / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.1321, allocations: 143.2 kB / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.1321, allocations: 0 / 475.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008401/0.1329, allocations: 253.2 kB / 475.4 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.133, allocations: 59.34 kB / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1332, allocations: 235.1 kB / 475.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1332, allocations: 25.7 kB / 475.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.1333, allocations: 128.2 kB / 475.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.1334, allocations: 43.59 kB / 475.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.1335, allocations: 33.7 kB / 475.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1336, allocations: 326.8 kB / 476.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1338, allocations: 71.94 kB / 476.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.1341, allocations: 100.2 kB / 476.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.1346, allocations: 197.1 kB / 476.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1346, allocations: 4 kB / 476.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000607/0.1352, allocations: 251 kB / 476.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.1353, allocations: 33.7 kB / 476.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1353, allocations: 0 / 476.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1353, allocations: 4 kB / 476.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1355, allocations: 47.78 kB / 476.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.1355, allocations: 7.984 kB / 476.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1357, allocations: 35.94 kB / 476.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1357, allocations: 4 kB / 476.9 MB, free: 6.758 MB / 350.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.0001169/0.1359, allocations: 130.4 kB / 477.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.1359, allocations: 15.81 kB / 477.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.1359, allocations: 21.41 kB / 477.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.136, allocations: 7.922 kB / 477.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.136, allocations: 0 / 477.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.136, allocations: 0 / 477.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.1362, allocations: 237.4 kB / 477.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1362, allocations: 4 kB / 477.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1364, allocations: 31.91 kB / 477.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1364, allocations: 0 / 477.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1364, allocations: 4 kB / 477.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1364, allocations: 7.922 kB / 477.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1364, allocations: 0 / 477.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000826/0.1372, allocations: 296.7 kB / 477.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.1373, allocations: 92.94 kB / 477.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.1374, allocations: 8 kB / 477.8 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1375, allocations: 23.91 kB / 477.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.1376, allocations: 16.05 kB / 477.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.1376, allocations: 7.984 kB / 477.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1378, allocations: 164.6 kB / 478 MB, free: 5.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1378, allocations: 0 / 478 MB, free: 5.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1381, allocations: 43.98 kB / 478 MB, free: 5.578 MB / 350.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.001007/0.1391, allocations: 407.7 kB / 478.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006069/0.1397, allocations: 219.2 kB / 478.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1397, allocations: 0 / 478.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.14, allocations: 79.81 kB / 478.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1403, allocations: 55.16 kB / 478.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.1411, allocations: 387.4 kB / 479.1 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1413, allocations: 0.7244 MB / 479.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.1414, allocations: 15.44 kB / 479.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1414, allocations: 0 / 479.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of Templates: time 0.004764/0.1462, allocations: 2.801 MB / 482.7 MB, free: 1.008 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)