Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007561/0.007561, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.00199/0.00199, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.716/1.716, 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.2168/0.2168, allocations: 38.01 MB / 307.9 MB, free: 5.98 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.00175/0.00175, allocations: 67.91 kB / 433 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1351, allocations: 56.47 MB / 489.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00344/0.1385, allocations: 1.668 MB / 491.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1401, allocations: 0.805 MB / 492 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1403, allocations: 4 kB / 492 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.1407, allocations: 35.77 kB / 492 MB, free: 3.297 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.0002816/0.141, allocations: 51.77 kB / 492.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1414, allocations: 91.69 kB / 492.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1416, allocations: 91.69 kB / 492.3 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1418, allocations: 20.2 kB / 492.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1419, allocations: 35.86 kB / 492.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.142, allocations: 27.8 kB / 492.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.142, allocations: 4 kB / 492.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1422, allocations: 47.97 kB / 492.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.1423, allocations: 23.92 kB / 492.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.1423, allocations: 31.8 kB / 492.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1426, allocations: 111.6 kB / 492.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1426, allocations: 0 / 492.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1426, allocations: 0 / 492.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1426, allocations: 0 / 492.6 MB, free: 2.77 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.0006297/0.1433, allocations: 407 kB / 492.9 MB, free: 2.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1433, allocations: 15.89 kB / 493 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.1434, allocations: 12.84 kB / 493 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.1438, allocations: 220 kB / 493.2 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1438, allocations: 384 / 493.2 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1439, allocations: 15.97 kB / 493.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1441, allocations: 57.67 kB / 493.3 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1441, allocations: 3.938 kB / 493.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1441, allocations: 3.984 kB / 493.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1441, allocations: 0 / 493.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.1442, allocations: 19.98 kB / 493.3 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.1446, allocations: 284.9 kB / 493.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1448, allocations: 62.61 kB / 493.6 MB, free: 1.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.1449, allocations: 20.84 kB / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1449, allocations: 0 / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.145, allocations: 71.39 kB / 493.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1451, allocations: 0 / 493.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007281/0.1458, allocations: 177.1 kB / 493.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1458, allocations: 51.41 kB / 493.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.1462, allocations: 186.2 kB / 494.1 MB, free: 1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1462, allocations: 29.7 kB / 494.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.1463, allocations: 96.14 kB / 494.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.1463, allocations: 27.64 kB / 494.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.1463, allocations: 29.66 kB / 494.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1465, allocations: 326.8 kB / 494.6 MB, free: 488 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1465, allocations: 19.98 kB / 494.6 MB, free: 468 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1467, allocations: 41.64 kB / 494.7 MB, free: 420 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1468, allocations: 61.77 kB / 494.7 MB, free: 352 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1468, allocations: 4 kB / 494.7 MB, free: 348 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.147, allocations: 97.53 kB / 494.8 MB, free: 244 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.147, allocations: 4 kB / 494.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.147, allocations: 0 / 494.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.147, allocations: 0 / 494.8 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.1471, allocations: 19.98 kB / 494.9 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1472, allocations: 0 / 494.9 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.1472, allocations: 8.219 kB / 494.9 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1472, allocations: 8 kB / 494.9 MB, free: 204 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.0001227/0.1474, allocations: 129.8 kB / 495 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.1474, allocations: 15.84 kB / 495 MB, free: 48 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.1474, allocations: 12.72 kB / 495 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1475, allocations: 0 / 495 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1475, allocations: 4.188 kB / 495 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1475, allocations: 7.922 kB / 495.1 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.148, allocations: 395.3 kB / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.148, allocations: 0 / 495.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.148, allocations: 12.03 kB / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.148, allocations: 0 / 495.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1481, allocations: 7.938 kB / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1481, allocations: 0 / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1481, allocations: 0 / 495.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.1484, allocations: 204.2 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.357e-05/0.1484, allocations: 89 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1485, allocations: 11.94 kB / 495.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1486, allocations: 7.938 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1486, allocations: 3.984 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1486, allocations: 4 kB / 495.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1487, allocations: 148 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1488, allocations: 0 / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.149, allocations: 27.98 kB / 495.9 MB, free: 15.04 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.001134/0.1502, allocations: 458.2 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1504, allocations: 63.89 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1504, allocations: 0 / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.1505, allocations: 24.12 kB / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1509, allocations: 39.83 kB / 496.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.1515, allocations: 219.1 kB / 496.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1519, allocations: 0.704 MB / 497.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.445e-05/0.152, allocations: 16.88 kB / 497.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.152, allocations: 15.44 kB / 497.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.152, allocations: 0 / 497.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of Templates: time 0.00562/0.1576, allocations: 1.708 MB / 499.2 MB, free: 11.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)