Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, 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.001242/0.001242, allocations: 192.6 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.711/1.711, allocations: 205.1 MB / 222 MB, free: 4.77 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.432/0.432, allocations: 39.93 MB / 309.3 MB, free: 9.66 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.001616/0.001617, allocations: 71.91 kB / 376.9 MB, free: 13.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1482, allocations: 56.88 MB / 433.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003097/0.1513, allocations: 1.755 MB / 435.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1525, allocations: 0.7923 MB / 436.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.1526, allocations: 0 / 436.4 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1529, allocations: 43.88 kB / 436.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.1531, allocations: 47.83 kB / 436.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1533, allocations: 79.78 kB / 436.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1534, allocations: 87.75 kB / 436.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.1535, allocations: 20.14 kB / 436.6 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.1536, allocations: 47.72 kB / 436.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1537, allocations: 31.84 kB / 436.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1538, allocations: 0 / 436.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.1538, allocations: 35.98 kB / 436.7 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.1539, allocations: 23.91 kB / 436.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.154, allocations: 35.75 kB / 436.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1542, allocations: 119.8 kB / 436.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1542, allocations: 0 / 436.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1542, allocations: 0 / 436.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1542, allocations: 0 / 436.9 MB, free: 1.262 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.1548, allocations: 418.9 kB / 437.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.1548, allocations: 12.03 kB / 437.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.1549, allocations: 8.844 kB / 437.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1552, allocations: 212.7 kB / 437.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1553, allocations: 384 / 437.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1553, allocations: 12.12 kB / 437.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1555, allocations: 53.61 kB / 437.6 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1555, allocations: 0 / 437.6 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1555, allocations: 4 kB / 437.6 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1555, allocations: 4 kB / 437.6 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.1556, allocations: 19.98 kB / 437.6 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.156, allocations: 280.9 kB / 437.9 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1562, allocations: 62.61 kB / 438 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1562, allocations: 16.86 kB / 438 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1563, allocations: 8 kB / 438 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.1565, allocations: 67.38 kB / 438.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1565, allocations: 0 / 438.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005259/0.157, allocations: 169.2 kB / 438.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.157, allocations: 51.41 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1572, allocations: 195.3 kB / 438.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1573, allocations: 37.69 kB / 438.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.1573, allocations: 96.14 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1574, allocations: 27.69 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1574, allocations: 29.66 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1575, allocations: 326.8 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.1576, allocations: 23.98 kB / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.1577, allocations: 41.58 kB / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1578, allocations: 58.08 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1578, allocations: 4 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.158, allocations: 101.4 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.158, allocations: 4 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.158, allocations: 8 kB / 439.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.158, allocations: 0 / 439.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.1581, allocations: 15.98 kB / 439.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1582, allocations: 4.141 kB / 439.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.1582, allocations: 11.97 kB / 439.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1582, allocations: 4 kB / 439.3 MB, free: 14.69 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.0001139/0.1584, allocations: 133.7 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.1584, allocations: 7.906 kB / 439.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.1584, allocations: 17.41 kB / 439.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1584, allocations: 3.984 kB / 439.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1585, allocations: 0 / 439.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1585, allocations: 3.938 kB / 439.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1589, allocations: 399.2 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1589, allocations: 0 / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.1589, allocations: 8 kB / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.159, allocations: 0 / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.159, allocations: 7.938 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.159, allocations: 3.984 kB / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.159, allocations: 0 / 439.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.1593, allocations: 204.3 kB / 440 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.1594, allocations: 92.86 kB / 440.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1594, allocations: 11.94 kB / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.1595, allocations: 4 kB / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1595, allocations: 7.984 kB / 440.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1595, allocations: 4 kB / 440.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1596, allocations: 152.9 kB / 440.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1596, allocations: 8 kB / 440.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.1599, allocations: 24 kB / 440.3 MB, free: 13.5 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.0009583/0.1609, allocations: 461.2 kB / 440.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.161, allocations: 67.91 kB / 440.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1611, allocations: 0 / 440.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.1611, allocations: 23.98 kB / 440.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1614, allocations: 35.92 kB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.1619, allocations: 257 kB / 441.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1621, allocations: 0.7043 MB / 441.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.1622, allocations: 21.17 kB / 441.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.1622, allocations: 15.44 kB / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1622, allocations: 0 / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of Templates: time 0.003982/0.1662, allocations: 1.639 MB / 443.5 MB, free: 10.28 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)