Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007372/0.0007375, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005426/0.005426, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.504/1.504, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3241/0.3241, allocations: 38.04 MB / 308.8 MB, free: 10.34 MB / 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.000529, allocations: 16 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 57.51 MB / 434.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00257/0.1206, allocations: 1.702 MB / 436.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.122, allocations: 0.8663 MB / 437.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-05/0.1221, allocations: 3.938 kB / 437.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.1224, allocations: 39.83 kB / 437.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1226, allocations: 55.7 kB / 437.2 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1228, allocations: 107.8 kB / 437.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1231, allocations: 187.3 kB / 437.5 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1232, allocations: 37.92 kB / 437.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1233, allocations: 67.7 kB / 437.6 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1235, allocations: 75.55 kB / 437.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1235, allocations: 4 kB / 437.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1236, allocations: 47.92 kB / 437.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.1237, allocations: 31.84 kB / 437.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.1238, allocations: 93.3 kB / 437.9 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1241, allocations: 175.4 kB / 438 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1241, allocations: 0 / 438 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1241, allocations: 0 / 438 MB, free: 1.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1241, allocations: 4 kB / 438.1 MB, free: 1.684 MB / 366.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.0009049/0.125, allocations: 0.5449 MB / 438.6 MB, free: 1.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1251, allocations: 12.03 kB / 438.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.1251, allocations: 16.75 kB / 438.6 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1254, allocations: 236.8 kB / 438.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1254, allocations: 12.36 kB / 438.9 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.1255, allocations: 12.12 kB / 438.9 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.1259, allocations: 168 kB / 439 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.1259, allocations: 0 / 439 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.1259, allocations: 4 kB / 439 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1259, allocations: 4 kB / 439.1 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.1264, allocations: 135.8 kB / 439.2 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.127, allocations: 0.5438 MB / 439.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.1277, allocations: 190.5 kB / 439.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.128, allocations: 84.8 kB / 440 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.128, allocations: 4 kB / 440 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004025/0.1284, allocations: 147.2 kB / 440.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.1284, allocations: 0 / 440.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008589/0.1293, allocations: 293.2 kB / 440.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.1294, allocations: 59.34 kB / 440.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1296, allocations: 227.1 kB / 440.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1296, allocations: 33.7 kB / 440.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.1297, allocations: 120.3 kB / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.1298, allocations: 39.67 kB / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.1299, allocations: 21.72 kB / 440.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.13, allocations: 330.8 kB / 441.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.1303, allocations: 79.94 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.1306, allocations: 128.1 kB / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.1311, allocations: 213.8 kB / 441.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1311, allocations: 4 kB / 441.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006516/0.1318, allocations: 279 kB / 441.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.1318, allocations: 33.7 kB / 442 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1318, allocations: 3.938 kB / 442 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1319, allocations: 7.984 kB / 442 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.1321, allocations: 47.78 kB / 442 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1321, allocations: 8.062 kB / 442 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.1323, allocations: 35.91 kB / 442.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1323, allocations: 4 kB / 442.1 MB, free: 13.36 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.0001253/0.1324, allocations: 138.5 kB / 442.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1325, allocations: 19.72 kB / 442.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.1325, allocations: 25.39 kB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1325, allocations: 7.938 kB / 442.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1325, allocations: 0 / 442.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1325, allocations: 0 / 442.3 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.1328, allocations: 233.5 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1328, allocations: 4 kB / 442.5 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1329, allocations: 27.97 kB / 442.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.133, allocations: 0 / 442.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.133, allocations: 12 kB / 442.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.133, allocations: 3.938 kB / 442.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.133, allocations: 0 / 442.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/0.1339, allocations: 340.6 kB / 442.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.134, allocations: 100.8 kB / 443 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.134, allocations: 4 kB / 443 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1342, allocations: 31.91 kB / 443 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.1343, allocations: 11.98 kB / 443 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.1343, allocations: 7.984 kB / 443 MB, free: 12.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1344, allocations: 168.7 kB / 443.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1345, allocations: 0 / 443.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1347, allocations: 43.98 kB / 443.2 MB, free: 12.1 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.0009351/0.1357, allocations: 418.1 kB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.1363, allocations: 247.1 kB / 443.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1363, allocations: 256 / 443.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.1366, allocations: 91.94 kB / 444 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1369, allocations: 43.95 kB / 444 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.1376, allocations: 366.3 kB / 444.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1379, allocations: 0.7244 MB / 445.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.138, allocations: 29.47 kB / 445.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.1381, allocations: 19.44 kB / 445.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1381, allocations: 0 / 445.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Templates: time 0.005849/0.144, allocations: 2.569 MB / 447.7 MB, free: 7.586 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: