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.0007574/0.0007576, allocations: 94.61 kB / 18 MB, free: 5.602 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.0008572/0.0008575, allocations: 182.1 kB / 18.91 MB, free: 4.738 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.349/1.349, allocations: 223.3 MB / 242.9 MB, free: 14.48 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.1962/0.1962, allocations: 44.24 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002596/0.1324, allocations: 1.699 MB / 474.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1342, allocations: 0.9472 MB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1344, allocations: 3.938 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.1348, allocations: 35.83 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.1351, allocations: 63.69 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1355, allocations: 123 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.1358, allocations: 195.3 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.136, allocations: 25.69 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.1362, allocations: 63.7 kB / 476.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1363, allocations: 79.55 kB / 476.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.1363, allocations: 8 kB / 476.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1365, allocations: 39.98 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.1366, allocations: 35.83 kB / 476.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1367, allocations: 89.3 kB / 476.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1369, allocations: 135.9 kB / 476.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1369, allocations: 4 kB / 476.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1369, allocations: 0 / 476.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1369, allocations: 0 / 476.5 MB, free: 9.75 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.0009382/0.1379, allocations: 0.5411 MB / 477 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1379, allocations: 8.031 kB / 477 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.138, allocations: 16.75 kB / 477 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1383, allocations: 240.8 kB / 477.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.1383, allocations: 8.359 kB / 477.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1384, allocations: 16.12 kB / 477.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.1388, allocations: 160.1 kB / 477.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1389, allocations: 7.938 kB / 477.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1389, allocations: 4 kB / 477.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1389, allocations: 0 / 477.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.1394, allocations: 139.8 kB / 477.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.1401, allocations: 0.5516 MB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007045/0.1409, allocations: 182.6 kB / 478.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.1411, allocations: 84.8 kB / 478.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1412, allocations: 7.984 kB / 478.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.1416, allocations: 155.1 kB / 478.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.1416, allocations: 0 / 478.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009452/0.1426, allocations: 289.3 kB / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1426, allocations: 59.34 kB / 478.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1429, allocations: 231 kB / 479.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1429, allocations: 29.7 kB / 479.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.143, allocations: 120.3 kB / 479.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.143, allocations: 47.55 kB / 479.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1431, allocations: 21.72 kB / 479.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1432, allocations: 330.8 kB / 479.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.1435, allocations: 79.94 kB / 479.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.1438, allocations: 122.6 kB / 479.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.1444, allocations: 221.8 kB / 480.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1444, allocations: 0 / 480.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006958/0.1451, allocations: 281.4 kB / 480.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.1451, allocations: 37.69 kB / 480.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1451, allocations: 0 / 480.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1452, allocations: 4 kB / 480.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1454, allocations: 44 kB / 480.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.1454, allocations: 4 kB / 480.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1456, allocations: 35.91 kB / 480.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1456, allocations: 4 kB / 480.5 MB, free: 5.418 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.0001295/0.1457, allocations: 138.3 kB / 480.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1458, allocations: 19.72 kB / 480.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.1458, allocations: 25.39 kB / 480.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1459, allocations: 3.938 kB / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1459, allocations: 0 / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1459, allocations: 0 / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1461, allocations: 233.5 kB / 480.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1461, allocations: 0 / 480.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1463, allocations: 31.97 kB / 480.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.1463, allocations: 4 kB / 480.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1463, allocations: 3.938 kB / 480.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1463, allocations: 7.875 kB / 480.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1463, allocations: 0 / 480.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.1473, allocations: 344.7 kB / 481.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1473, allocations: 96.84 kB / 481.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.1474, allocations: 4 kB / 481.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.1476, allocations: 31.97 kB / 481.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.1476, allocations: 19.98 kB / 481.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1477, allocations: 7.984 kB / 481.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1478, allocations: 160.7 kB / 481.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1478, allocations: 0 / 481.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1481, allocations: 39.98 kB / 481.6 MB, free: 4.18 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.00103/0.1491, allocations: 417.9 kB / 482 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006546/0.1498, allocations: 243.3 kB / 482.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1498, allocations: 0 / 482.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.1501, allocations: 87.94 kB / 482.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1505, allocations: 46.89 kB / 482.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.1513, allocations: 399.6 kB / 482.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1515, allocations: 0.7205 MB / 483.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.1516, allocations: 23.44 kB / 483.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1516, allocations: 4 kB / 483.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Templates: time 0.005728/0.1574, allocations: 2.777 MB / 486.3 MB, free: 15.58 MB / 366.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)