Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001373, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.8/1.8, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4147/0.4147, allocations: 39.94 MB / 309.7 MB, free: 9.285 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.2. 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.001534/0.001534, allocations: 71.91 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1372, allocations: 56.88 MB / 434.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003128/0.1404, allocations: 1.65 MB / 436.2 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1419, allocations: 0.7821 MB / 436.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.142, allocations: 11.94 kB / 436.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1423, allocations: 43.81 kB / 437 MB, free: 1.152 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.0002243/0.1425, allocations: 55.75 kB / 437 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1428, allocations: 75.72 kB / 437.1 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1429, allocations: 95.69 kB / 437.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.143, allocations: 15.97 kB / 437.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.1431, allocations: 39.78 kB / 437.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.729e-05/0.1432, allocations: 27.86 kB / 437.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1432, allocations: 0 / 437.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.1433, allocations: 35.98 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.1434, allocations: 23.92 kB / 437.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.1434, allocations: 39.67 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1436, allocations: 111.9 kB / 437.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1436, allocations: 4 kB / 437.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1436, allocations: 0 / 437.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.1437, allocations: 3.938 kB / 437.5 MB, free: 0.6328 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005899/0.1443, allocations: 434.6 kB / 437.9 MB, free: 164 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1443, allocations: 11.89 kB / 437.9 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1444, allocations: 12.84 kB / 438 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.1446, allocations: 219.7 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1446, allocations: 384 / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1447, allocations: 8.125 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1448, allocations: 53.61 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1449, allocations: 0 / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1449, allocations: 0 / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1449, allocations: 4 kB / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/0.145, allocations: 15.94 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.1452, allocations: 189.7 kB / 438.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1454, allocations: 54.61 kB / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1455, allocations: 20.8 kB / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1455, allocations: 0 / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.1457, allocations: 71.33 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.1457, allocations: 0 / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003022/0.146, allocations: 101.5 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1461, allocations: 51.41 kB / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1463, allocations: 259.7 kB / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1464, allocations: 25.7 kB / 439 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.1465, allocations: 112.1 kB / 439.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1465, allocations: 15.8 kB / 439.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.1465, allocations: 21.72 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1467, allocations: 326.8 kB / 439.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.1468, allocations: 15.98 kB / 439.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1468, allocations: 41.64 kB / 439.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1469, allocations: 37.72 kB / 439.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1469, allocations: 0 / 439.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001554/0.1471, allocations: 93.61 kB / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1471, allocations: 8 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1471, allocations: 4.062 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1472, allocations: 0 / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.1473, allocations: 12.03 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.1473, allocations: 4 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1473, allocations: 7.922 kB / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1473, allocations: 4 kB / 439.7 MB, free: 14.2 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001072/0.1474, allocations: 133.8 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1475, allocations: 15.81 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.1475, allocations: 17 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1475, allocations: 0 / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.1476, allocations: 0 / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1476, allocations: 11.92 kB / 439.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1477, allocations: 189.6 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1477, allocations: 3.984 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.1478, allocations: 7.984 kB / 440.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1478, allocations: 0 / 440.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1478, allocations: 8 kB / 440.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1478, allocations: 3.938 kB / 440.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1478, allocations: 0 / 440.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.148, allocations: 116.9 kB / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.1481, allocations: 85.02 kB / 440.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.1481, allocations: 4 kB / 440.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.1481, allocations: 4 kB / 440.3 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1482, allocations: 3.984 kB / 440.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1482, allocations: 4 kB / 440.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1484, allocations: 199 kB / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.1484, allocations: 0 / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1486, allocations: 23.94 kB / 440.5 MB, free: 13.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009404/0.1496, allocations: 418.4 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1497, allocations: 39.98 kB / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1497, allocations: 0 / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.1498, allocations: 19.94 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1501, allocations: 39.03 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.1506, allocations: 270.5 kB / 441.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1509, allocations: 0.7119 MB / 442 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.1509, allocations: 16.8 kB / 442 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.151, allocations: 11.44 kB / 442 MB, free: 11.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.151, allocations: 0 / 442 MB, free: 11.74 MB / 382.1 MB Notification: Performance of Templates: time 0.004397/0.1554, allocations: 1.509 MB / 443.5 MB, free: 10.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)