Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.003369/0.003369, allocations: 195.8 kB / 16.25 MB, free: 6.629 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.571/1.571, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3319/0.3319, allocations: 37.98 MB / 307.4 MB, free: 10.14 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.001787/0.001787, allocations: 74.33 kB / 374.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1325, allocations: 56.46 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003869/0.1364, allocations: 1.732 MB / 432.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1379, allocations: 0.7922 MB / 433.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1381, allocations: 0 / 433.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.1385, allocations: 47.83 kB / 433.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1388, allocations: 47.83 kB / 433.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1391, allocations: 75.78 kB / 433.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1393, allocations: 95.7 kB / 434 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1394, allocations: 8.219 kB / 434 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.1395, allocations: 47.77 kB / 434 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1396, allocations: 31.86 kB / 434.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1396, allocations: 4 kB / 434.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1397, allocations: 47.92 kB / 434.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1398, allocations: 27.84 kB / 434.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.1398, allocations: 35.75 kB / 434.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.14, allocations: 108 kB / 434.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1401, allocations: 0 / 434.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1401, allocations: 3.938 kB / 434.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1401, allocations: 0 / 434.3 MB, free: 3.844 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.0005663/0.1407, allocations: 411 kB / 434.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1407, allocations: 11.89 kB / 434.7 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.1408, allocations: 16.75 kB / 434.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.141, allocations: 208 kB / 434.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.141, allocations: 4.375 kB / 434.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.141, allocations: 8.125 kB / 434.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1412, allocations: 49.67 kB / 435 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1412, allocations: 0 / 435 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1412, allocations: 4 kB / 435 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1412, allocations: 4 kB / 435 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.1413, allocations: 19.98 kB / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.1417, allocations: 284.9 kB / 435.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1418, allocations: 54.61 kB / 435.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.1419, allocations: 20.86 kB / 435.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1419, allocations: 8 kB / 435.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.1421, allocations: 63.38 kB / 435.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.1421, allocations: 0 / 435.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005216/0.1426, allocations: 181.4 kB / 435.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1427, allocations: 55.41 kB / 435.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1428, allocations: 186.2 kB / 435.9 MB, free: 2.094 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1429, allocations: 29.7 kB / 435.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.1429, allocations: 108.1 kB / 436 MB, free: 1.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1429, allocations: 19.72 kB / 436 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.143, allocations: 25.64 kB / 436 MB, free: 1.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1431, allocations: 330.8 kB / 436.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.1432, allocations: 16 kB / 436.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.1432, allocations: 33.7 kB / 436.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1433, allocations: 73.75 kB / 436.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1433, allocations: 0 / 436.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.1435, allocations: 101.6 kB / 436.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1436, allocations: 4 kB / 436.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1436, allocations: 7.938 kB / 436.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1436, allocations: 0 / 436.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.1437, allocations: 16 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1437, allocations: 3.938 kB / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.1438, allocations: 15.95 kB / 436.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1438, allocations: 4 kB / 436.6 MB, free: 1.277 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 9.679e-05/0.1439, allocations: 121.8 kB / 436.7 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.1439, allocations: 7.906 kB / 436.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.1439, allocations: 16.7 kB / 436.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.144, allocations: 4 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.144, allocations: 0 / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.144, allocations: 3.938 kB / 436.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.1444, allocations: 395.3 kB / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1444, allocations: 0 / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.1444, allocations: 11.98 kB / 437.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1444, allocations: 0 / 437.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1444, allocations: 3.938 kB / 437.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1444, allocations: 4 kB / 437.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1444, allocations: 0 / 437.2 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1447, allocations: 208.2 kB / 437.4 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.1447, allocations: 81.02 kB / 437.5 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1447, allocations: 7.938 kB / 437.5 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.1448, allocations: 3.984 kB / 437.5 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1448, allocations: 8 kB / 437.5 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1449, allocations: 7.938 kB / 437.5 MB, free: 312 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.804e-05/0.145, allocations: 144 kB / 437.6 MB, free: 168 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.145, allocations: 4 kB / 437.6 MB, free: 164 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.1452, allocations: 24 kB / 437.7 MB, free: 140 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.0009384/0.1462, allocations: 473.6 kB / 438.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1464, allocations: 75.89 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1464, allocations: 0 / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.1464, allocations: 31.92 kB / 438.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1468, allocations: 31.83 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.1472, allocations: 235.3 kB / 438.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1475, allocations: 0.7041 MB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.293e-05/0.1476, allocations: 16.88 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.1476, allocations: 15.44 kB / 439.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1476, allocations: 4 kB / 439.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Templates: time 0.004319/0.152, allocations: 1.678 MB / 440.9 MB, free: 12.86 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)