Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, 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.002777/0.002778, allocations: 195.5 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.804/1.804, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3734/0.3734, allocations: 37.98 MB / 307.7 MB, free: 9.941 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.001744/0.001745, allocations: 76.53 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1415, allocations: 56.47 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003255/0.1448, allocations: 1.665 MB / 433.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1461, allocations: 0.8092 MB / 434.2 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.1462, allocations: 3.938 kB / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1465, allocations: 47.83 kB / 434.2 MB, free: 4.066 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.000222/0.1467, allocations: 51.69 kB / 434.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.147, allocations: 87.75 kB / 434.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1472, allocations: 91.7 kB / 434.5 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.1473, allocations: 16.2 kB / 434.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.1474, allocations: 39.8 kB / 434.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.1475, allocations: 31.86 kB / 434.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1475, allocations: 0 / 434.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.1476, allocations: 47.97 kB / 434.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.1476, allocations: 23.86 kB / 434.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.1477, allocations: 39.72 kB / 434.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1479, allocations: 123.8 kB / 434.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1479, allocations: 0 / 434.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1479, allocations: 0 / 434.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1479, allocations: 0 / 434.8 MB, free: 3.523 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.0005888/0.1485, allocations: 426.9 kB / 435.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1486, allocations: 11.89 kB / 435.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.1486, allocations: 16.75 kB / 435.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1489, allocations: 216 kB / 435.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1489, allocations: 8.375 kB / 435.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.149, allocations: 4.125 kB / 435.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1491, allocations: 53.67 kB / 435.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1491, allocations: 0 / 435.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1492, allocations: 4 kB / 435.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1492, allocations: 0 / 435.5 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.1493, allocations: 19.98 kB / 435.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1497, allocations: 296.7 kB / 435.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1499, allocations: 58.62 kB / 435.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.1499, allocations: 20.84 kB / 435.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.15, allocations: 8 kB / 435.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.1502, allocations: 63.39 kB / 436 MB, free: 2.176 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.1502, allocations: 0 / 436 MB, free: 2.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005398/0.1507, allocations: 173.2 kB / 436.1 MB, free: 2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1508, allocations: 59.34 kB / 436.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.151, allocations: 219.5 kB / 436.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.151, allocations: 29.7 kB / 436.4 MB, free: 1.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.1511, allocations: 116 kB / 436.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1511, allocations: 23.66 kB / 436.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1512, allocations: 25.64 kB / 436.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1513, allocations: 334.8 kB / 436.9 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.1514, allocations: 16 kB / 436.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.365e-05/0.1514, allocations: 37.7 kB / 437 MB, free: 1.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1516, allocations: 65.77 kB / 437 MB, free: 1.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1516, allocations: 0 / 437 MB, free: 1.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.1518, allocations: 105.5 kB / 437.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1518, allocations: 4 kB / 437.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1518, allocations: 0 / 437.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1518, allocations: 0 / 437.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.1519, allocations: 16 kB / 437.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1519, allocations: 3.938 kB / 437.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.152, allocations: 8.328 kB / 437.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.152, allocations: 8 kB / 437.2 MB, free: 0.8867 MB / 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.0001083/0.1521, allocations: 125.8 kB / 437.3 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.1522, allocations: 23.73 kB / 437.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.1522, allocations: 13.41 kB / 437.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1522, allocations: 0 / 437.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1522, allocations: 8 kB / 437.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1522, allocations: 3.938 kB / 437.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.1527, allocations: 399.3 kB / 437.7 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1527, allocations: 0 / 437.7 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1527, allocations: 8 kB / 437.8 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1527, allocations: 0 / 437.8 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1528, allocations: 11.94 kB / 437.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1528, allocations: 0 / 437.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1528, allocations: 0 / 437.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.153, allocations: 208.2 kB / 438 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.1531, allocations: 89 kB / 438.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1531, allocations: 11.94 kB / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.1532, allocations: 3.984 kB / 438.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1532, allocations: 8.172 kB / 438.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1533, allocations: 4 kB / 438.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1534, allocations: 171.4 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1534, allocations: 0 / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1537, allocations: 35.98 kB / 438.3 MB, free: 15.68 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.001076/0.1548, allocations: 460.1 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.155, allocations: 67.91 kB / 438.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.155, allocations: 0 / 438.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.1551, allocations: 24.09 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1555, allocations: 43.97 kB / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.1561, allocations: 262.9 kB / 439.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1564, allocations: 0.708 MB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.1565, allocations: 12.89 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.1565, allocations: 23.42 kB / 439.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1565, allocations: 0 / 439.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of Templates: time 0.00506/0.1616, allocations: 1.696 MB / 441.6 MB, free: 12.37 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)