Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005373/0.005373, allocations: 100.6 kB / 15.73 MB, free: 6.047 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: 188.6 kB / 16.67 MB, free: 5.98 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2332/0.2332, allocations: 38.01 MB / 307.9 MB, free: 5.977 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.001455/0.001455, allocations: 67.91 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1375, allocations: 56.46 MB / 489.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003365/0.1409, allocations: 1.679 MB / 491.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1426, allocations: 0.809 MB / 492 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1427, allocations: 0 / 492 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.1432, allocations: 43.77 kB / 492 MB, free: 3.266 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.1435, allocations: 47.77 kB / 492.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1438, allocations: 79.77 kB / 492.2 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.144, allocations: 95.69 kB / 492.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1441, allocations: 20.2 kB / 492.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1442, allocations: 35.86 kB / 492.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.1443, allocations: 39.72 kB / 492.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1444, allocations: 4 kB / 492.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1445, allocations: 43.98 kB / 492.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.1446, allocations: 19.92 kB / 492.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.1446, allocations: 39.72 kB / 492.5 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1449, allocations: 107.7 kB / 492.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1449, allocations: 0 / 492.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1449, allocations: 4 kB / 492.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1449, allocations: 0 / 492.6 MB, free: 2.738 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006993/0.1456, allocations: 410.9 kB / 493 MB, free: 2.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1457, allocations: 15.89 kB / 493 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.1457, allocations: 12.83 kB / 493 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1461, allocations: 204 kB / 493.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1461, allocations: 4.375 kB / 493.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.1461, allocations: 16.02 kB / 493.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1463, allocations: 61.67 kB / 493.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1463, allocations: 0 / 493.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1463, allocations: 0 / 493.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1463, allocations: 0 / 493.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.032e-05/0.1464, allocations: 23.92 kB / 493.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.1468, allocations: 280.9 kB / 493.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.147, allocations: 58.69 kB / 493.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1471, allocations: 20.84 kB / 493.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1471, allocations: 0 / 493.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.1473, allocations: 71.33 kB / 493.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1473, allocations: 0 / 493.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006103/0.1479, allocations: 181.4 kB / 493.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.148, allocations: 55.41 kB / 494 MB, free: 1.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1482, allocations: 186.2 kB / 494.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1482, allocations: 25.7 kB / 494.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.1483, allocations: 100.1 kB / 494.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.1483, allocations: 23.64 kB / 494.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.1484, allocations: 29.66 kB / 494.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.1486, allocations: 326.8 kB / 494.6 MB, free: 468 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.1487, allocations: 24.05 kB / 494.7 MB, free: 444 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.1487, allocations: 41.7 kB / 494.7 MB, free: 396 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.1489, allocations: 57.64 kB / 494.7 MB, free: 332 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1489, allocations: 0 / 494.7 MB, free: 332 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002178/0.1491, allocations: 105.6 kB / 494.9 MB, free: 220 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1491, allocations: 4 kB / 494.9 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1491, allocations: 192 / 494.9 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1492, allocations: 4.031 kB / 494.9 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1493, allocations: 27.86 kB / 494.9 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1493, allocations: 0 / 494.9 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.1493, allocations: 7.844 kB / 494.9 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1494, allocations: 4 kB / 494.9 MB, free: 172 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001074/0.1495, allocations: 129.8 kB / 495 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1495, allocations: 11.91 kB / 495 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.1495, allocations: 12.72 kB / 495 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1496, allocations: 0 / 495 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1496, allocations: 4 kB / 495.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.1496, allocations: 4.188 kB / 495.1 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.15, allocations: 395.3 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1501, allocations: 0 / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.1501, allocations: 8 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1501, allocations: 3.938 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1501, allocations: 7.938 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1501, allocations: 0 / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1502, allocations: 4.031 kB / 495.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1504, allocations: 204.2 kB / 495.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.1505, allocations: 85.02 kB / 495.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1505, allocations: 3.938 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1506, allocations: 8 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.1506, allocations: 3.984 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1506, allocations: 8 kB / 495.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1508, allocations: 148 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1508, allocations: 0 / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1511, allocations: 27.98 kB / 495.9 MB, free: 15.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001208/0.1523, allocations: 467.2 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1525, allocations: 55.97 kB / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.1525, allocations: 0 / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.1526, allocations: 27.94 kB / 496.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.153, allocations: 32.14 kB / 496.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.1536, allocations: 227.3 kB / 496.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.154, allocations: 0.7002 MB / 497.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.154, allocations: 16.81 kB / 497.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.1541, allocations: 19.42 kB / 497.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1541, allocations: 0 / 497.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of Templates: time 0.00538/0.1595, allocations: 1.704 MB / 499.2 MB, free: 11.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)