Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007539/0.0007539, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0008488/0.0008489, allocations: 177.2 kB / 16.27 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.329/1.329, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.3197/0.3197, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0005572/0.0005574, allocations: 16.47 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.133, allocations: 57.53 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002575/0.1356, allocations: 1.482 MB / 436.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.1373, allocations: 0.8547 MB / 436.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1375, allocations: 0 / 436.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007224/0.1382, allocations: 299.4 kB / 437.2 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.1386, allocations: 195.5 kB / 437.4 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1391, allocations: 123.8 kB / 437.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.1395, allocations: 235.3 kB / 437.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7e-05/0.1395, allocations: 13.55 kB / 437.8 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1397, allocations: 115.6 kB / 437.9 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1399, allocations: 188 kB / 438.1 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.14, allocations: 7.938 kB / 438.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1401, allocations: 36 kB / 438.1 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1403, allocations: 136.5 kB / 438.2 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1404, allocations: 164.5 kB / 438.4 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1408, allocations: 343 kB / 438.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1408, allocations: 3.938 kB / 438.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1408, allocations: 0 / 438.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1408, allocations: 3.938 kB / 438.7 MB, free: 1.008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008596/0.1417, allocations: 0.6573 MB / 439.4 MB, free: 308 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1417, allocations: 8.031 kB / 439.4 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.1418, allocations: 56.28 kB / 439.5 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.1424, allocations: 439.9 kB / 439.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.1424, allocations: 8.359 kB / 439.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1424, allocations: 4.125 kB / 439.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1426, allocations: 79.38 kB / 440 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1426, allocations: 0 / 440 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1427, allocations: 4 kB / 440 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1427, allocations: 3.984 kB / 440 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.647e-05/0.1428, allocations: 39.86 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1432, allocations: 370.3 kB / 440.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.1434, allocations: 101.2 kB / 440.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.1435, allocations: 49.58 kB / 440.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.1435, allocations: 0 / 440.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1438, allocations: 109.1 kB / 440.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1438, allocations: 0 / 440.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004534/0.1443, allocations: 200.9 kB / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.1443, allocations: 77.11 kB / 440.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009794/0.1453, allocations: 1.003 MB / 441.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1454, allocations: 33.7 kB / 441.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1455, allocations: 228.1 kB / 442.2 MB, free: 13.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.1456, allocations: 31.58 kB / 442.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.1456, allocations: 21.7 kB / 442.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1458, allocations: 366.8 kB / 442.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.1459, allocations: 27.98 kB / 442.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.146, allocations: 55.42 kB / 442.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1462, allocations: 95.84 kB / 442.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1462, allocations: 4 kB / 442.8 MB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002779/0.1465, allocations: 164.9 kB / 442.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1465, allocations: 4 kB / 442.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1465, allocations: 7.984 kB / 442.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1465, allocations: 0 / 442.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1466, allocations: 19.94 kB / 442.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.1467, allocations: 4 kB / 443 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-05/0.1468, allocations: 19.89 kB / 443 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1468, allocations: 8 kB / 443 MB, free: 12.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001969/0.147, allocations: 225.6 kB / 443.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.147, allocations: 47.44 kB / 443.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/0.1471, allocations: 55.84 kB / 443.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1471, allocations: 4 kB / 443.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1471, allocations: 0 / 443.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1471, allocations: 0 / 443.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.1474, allocations: 337.3 kB / 443.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1474, allocations: 0 / 443.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.1475, allocations: 15.92 kB / 443.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1475, allocations: 7.938 kB / 443.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1475, allocations: 4 kB / 443.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1475, allocations: 3.984 kB / 443.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1475, allocations: 4 kB / 443.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1478, allocations: 205.3 kB / 443.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1479, allocations: 148.5 kB / 444 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.148, allocations: 0 / 444 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.1481, allocations: 7.984 kB / 444 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.1481, allocations: 8 kB / 444 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1481, allocations: 7.984 kB / 444 MB, free: 11.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007227/0.1489, allocations: 0.7526 MB / 444.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1489, allocations: 0 / 444.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1491, allocations: 43.91 kB / 444.8 MB, free: 10.52 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009982/0.1502, allocations: 418 kB / 445.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1504, allocations: 88.02 kB / 445.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1504, allocations: 3.938 kB / 445.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.1505, allocations: 35.98 kB / 445.4 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.151, allocations: 70.2 kB / 445.4 MB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.1522, allocations: 0.9323 MB / 446.4 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.1528, allocations: 0.843 MB / 447.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.1529, allocations: 54.94 kB / 447.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.153, allocations: 27.44 kB / 447.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.153, allocations: 0 / 447.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of Templates: time 0.006931/0.1599, allocations: 3.415 MB / 450.7 MB, free: 4.609 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) Environment - environmentSimulation: