Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001438/0.001438, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.511/1.511, allocations: 205.1 MB / 222 MB, free: 4.996 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.3535/0.3535, allocations: 37.98 MB / 307.3 MB, free: 9.922 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.001253/0.001253, allocations: 60.55 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 56.48 MB / 431 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00354/0.134, allocations: 1.728 MB / 432.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.1355, allocations: 0.8 MB / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.1356, allocations: 3.938 kB / 433.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.136, allocations: 47.88 kB / 433.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.1362, allocations: 47.81 kB / 433.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1364, allocations: 79.84 kB / 433.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1366, allocations: 87.7 kB / 433.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1367, allocations: 28.19 kB / 433.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.1368, allocations: 35.8 kB / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.1369, allocations: 39.77 kB / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1369, allocations: 0 / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1371, allocations: 36 kB / 434 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.1371, allocations: 27.89 kB / 434 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.1372, allocations: 35.69 kB / 434 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1374, allocations: 119.9 kB / 434.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1374, allocations: 0 / 434.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1374, allocations: 4 kB / 434.1 MB, free: 3.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1374, allocations: 0 / 434.1 MB, free: 3.914 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.0005707/0.138, allocations: 418.9 kB / 434.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.138, allocations: 11.97 kB / 434.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.1381, allocations: 20.73 kB / 434.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1383, allocations: 204.1 kB / 434.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1383, allocations: 4.375 kB / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1384, allocations: 8.125 kB / 434.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1385, allocations: 57.67 kB / 434.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1386, allocations: 3.984 kB / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1386, allocations: 0 / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1386, allocations: 0 / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.1387, allocations: 23.92 kB / 434.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.1391, allocations: 296.7 kB / 435.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1392, allocations: 58.67 kB / 435.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.1393, allocations: 24.8 kB / 435.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1393, allocations: 0 / 435.2 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.1395, allocations: 67.33 kB / 435.3 MB, free: 2.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1396, allocations: 0 / 435.3 MB, free: 2.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005576/0.1401, allocations: 173.5 kB / 435.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1402, allocations: 59.41 kB / 435.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1404, allocations: 218.7 kB / 435.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1404, allocations: 29.7 kB / 435.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.1405, allocations: 108 kB / 435.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.1405, allocations: 23.66 kB / 435.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1406, allocations: 29.7 kB / 435.9 MB, free: 1.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1407, allocations: 326.8 kB / 436.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.1408, allocations: 28.05 kB / 436.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/0.1408, allocations: 37.7 kB / 436.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.141, allocations: 57.64 kB / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.141, allocations: 0 / 436.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1411, allocations: 101.6 kB / 436.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1412, allocations: 7.938 kB / 436.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1412, allocations: 4 kB / 436.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1412, allocations: 4.031 kB / 436.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.1413, allocations: 15.98 kB / 436.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1413, allocations: 0 / 436.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1414, allocations: 11.88 kB / 436.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1414, allocations: 4 kB / 436.5 MB, free: 1.289 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.0001078/0.1415, allocations: 129.8 kB / 436.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1415, allocations: 11.81 kB / 436.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.1416, allocations: 17.41 kB / 436.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1416, allocations: 4 kB / 436.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1416, allocations: 0 / 436.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1416, allocations: 7.922 kB / 436.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.1421, allocations: 395.3 kB / 437.1 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.1421, allocations: 4 kB / 437.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.1421, allocations: 15.94 kB / 437.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1421, allocations: 0 / 437.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1422, allocations: 7.922 kB / 437.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1422, allocations: 4.031 kB / 437.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1422, allocations: 4.188 kB / 437.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1424, allocations: 200.4 kB / 437.3 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.1425, allocations: 88.95 kB / 437.4 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.1425, allocations: 3.938 kB / 437.4 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.1426, allocations: 8 kB / 437.4 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1426, allocations: 7.984 kB / 437.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1426, allocations: 8 kB / 437.4 MB, free: 288 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1428, allocations: 180.2 kB / 437.6 MB, free: 108 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1428, allocations: 0 / 437.6 MB, free: 108 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.143, allocations: 20 kB / 437.6 MB, free: 88 kB / 366.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.001078/0.1441, allocations: 473 kB / 438.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1443, allocations: 55.91 kB / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1443, allocations: 0 / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.383e-05/0.1444, allocations: 35.97 kB / 438.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1448, allocations: 23.98 kB / 438.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.1453, allocations: 280.7 kB / 438.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1456, allocations: 0.7199 MB / 439.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.178e-05/0.1456, allocations: 16.88 kB / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1457, allocations: 11.44 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1457, allocations: 4 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.004411/0.1501, allocations: 1.648 MB / 440.9 MB, free: 12.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)