Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001613, allocations: 108 kB / 15.61 MB, free: 152 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.001704/0.001704, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.704/1.704, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.3771/0.3771, allocations: 39.94 MB / 309.7 MB, free: 9.246 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.00143/0.00143, allocations: 78.81 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003429/0.1392, allocations: 1.681 MB / 436.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1406, allocations: 0.8132 MB / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.1407, allocations: 0 / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.141, allocations: 47.75 kB / 437 MB, free: 1.109 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.0002645/0.1413, allocations: 63.73 kB / 437.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1416, allocations: 83.75 kB / 437.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1417, allocations: 91.7 kB / 437.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1419, allocations: 16.22 kB / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.142, allocations: 39.78 kB / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.1421, allocations: 35.78 kB / 437.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1421, allocations: 4 kB / 437.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1422, allocations: 43.98 kB / 437.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.1423, allocations: 31.91 kB / 437.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.1424, allocations: 35.69 kB / 437.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1426, allocations: 131.8 kB / 437.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1426, allocations: 4 kB / 437.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1426, allocations: 0 / 437.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1426, allocations: 0 / 437.6 MB, free: 0.5391 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.0006336/0.1433, allocations: 442.6 kB / 438 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1433, allocations: 11.89 kB / 438.1 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.1434, allocations: 16.84 kB / 438.1 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1436, allocations: 223.7 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1437, allocations: 384 / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1437, allocations: 12.11 kB / 438.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1438, allocations: 53.67 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1439, allocations: 3.938 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1439, allocations: 0 / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1439, allocations: 0 / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.45e-05/0.144, allocations: 23.92 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.1444, allocations: 304.8 kB / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1445, allocations: 54.67 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.1446, allocations: 20.86 kB / 438.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1446, allocations: 0 / 438.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.1448, allocations: 71.33 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1449, allocations: 0 / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005676/0.1454, allocations: 185 kB / 439 MB, free: 14.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.1455, allocations: 51.41 kB / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1457, allocations: 255.7 kB / 439.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1457, allocations: 33.7 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1459, allocations: 112.1 kB / 439.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.1459, allocations: 27.64 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.146, allocations: 25.66 kB / 439.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1461, allocations: 334.8 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.1462, allocations: 19.98 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.1462, allocations: 37.7 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1464, allocations: 61.64 kB / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1464, allocations: 4 kB / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1465, allocations: 101.5 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1466, allocations: 4 kB / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1466, allocations: 0 / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1466, allocations: 4 kB / 440.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.1467, allocations: 19.92 kB / 440.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1467, allocations: 0 / 440.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.1468, allocations: 7.938 kB / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1468, allocations: 384 / 440.1 MB, free: 13.82 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 (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.000111/0.1469, allocations: 141.1 kB / 440.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1469, allocations: 19.8 kB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.147, allocations: 17.41 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.147, allocations: 0 / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.147, allocations: 4 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.147, allocations: 3.938 kB / 440.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.1474, allocations: 411.4 kB / 440.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1475, allocations: 0 / 440.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.1475, allocations: 11.94 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1475, allocations: 3.938 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1475, allocations: 11.92 kB / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1475, allocations: 0 / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1475, allocations: 0 / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1478, allocations: 208.3 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.1478, allocations: 88.92 kB / 441 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1479, allocations: 3.938 kB / 441 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.1479, allocations: 8 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.148, allocations: 3.984 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.148, allocations: 4 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1482, allocations: 203 kB / 441.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1482, allocations: 0 / 441.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1484, allocations: 23.98 kB / 441.2 MB, free: 12.57 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.001073/0.1495, allocations: 477.6 kB / 441.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1497, allocations: 63.91 kB / 441.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1497, allocations: 64 / 441.8 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.1498, allocations: 31.98 kB / 441.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1502, allocations: 23.84 kB / 441.8 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.1507, allocations: 295.6 kB / 442.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.151, allocations: 0.7119 MB / 442.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.096e-05/0.1511, allocations: 16.88 kB / 442.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.1511, allocations: 23.38 kB / 442.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1511, allocations: 4 kB / 442.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Templates: time 0.004823/0.156, allocations: 1.72 MB / 444.6 MB, free: 9.188 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)