Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001172/0.001172, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01016/0.01016, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.673/1.673, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3625/0.3625, allocations: 38.04 MB / 308.8 MB, free: 10.28 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.0006098/0.0006101, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1245, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001713/0.1263, allocations: 1.401 MB / 436 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1274, allocations: 0.7806 MB / 436.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.1274, allocations: 0 / 436.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.1277, allocations: 39.83 kB / 436.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1279, allocations: 47.83 kB / 436.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1281, allocations: 75.84 kB / 436.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1282, allocations: 95.69 kB / 437 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.107e-05/0.1283, allocations: 12.22 kB / 437 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/0.1284, allocations: 43.78 kB / 437.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.1284, allocations: 31.78 kB / 437.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1285, allocations: 4 kB / 437.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.1285, allocations: 35.98 kB / 437.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.1286, allocations: 19.92 kB / 437.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.1287, allocations: 61.42 kB / 437.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1288, allocations: 107.9 kB / 437.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1288, allocations: 0 / 437.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1288, allocations: 4 kB / 437.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1288, allocations: 0 / 437.3 MB, free: 2.434 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.0004436/0.1293, allocations: 399.1 kB / 437.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1293, allocations: 8.031 kB / 437.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.1294, allocations: 20.69 kB / 437.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1296, allocations: 204.8 kB / 437.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1296, allocations: 8.297 kB / 437.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1296, allocations: 8.062 kB / 438 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1298, allocations: 61.67 kB / 438 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1298, allocations: 0 / 438 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1298, allocations: 0 / 438 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1298, allocations: 0 / 438 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.472e-05/0.1299, allocations: 19.98 kB / 438 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.1302, allocations: 284.8 kB / 438.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1303, allocations: 62.67 kB / 438.4 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.1304, allocations: 16.86 kB / 438.4 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1304, allocations: 3.984 kB / 438.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.1306, allocations: 75.23 kB / 438.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1306, allocations: 0 / 438.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004734/0.1311, allocations: 181.1 kB / 438.6 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1311, allocations: 55.41 kB / 438.7 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1313, allocations: 195.3 kB / 438.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1313, allocations: 25.7 kB / 438.9 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.1313, allocations: 104.1 kB / 439 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1314, allocations: 23.7 kB / 439 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.1314, allocations: 17.72 kB / 439.1 MB, free: 500 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.1315, allocations: 326.8 kB / 439.4 MB, free: 164 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.1316, allocations: 23.98 kB / 439.4 MB, free: 140 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.1316, allocations: 37.7 kB / 439.4 MB, free: 96 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.1317, allocations: 53.66 kB / 439.5 MB, free: 36 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1317, allocations: 0 / 439.5 MB, free: 36 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/0.1319, allocations: 109.7 kB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1319, allocations: 4 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.132, allocations: 0 / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.132, allocations: 4.031 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.1321, allocations: 19.84 kB / 439.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1321, allocations: 0 / 439.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.1321, allocations: 12.3 kB / 439.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1321, allocations: 4 kB / 439.6 MB, free: 15.88 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 8.422e-05/0.1322, allocations: 125.8 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1323, allocations: 15.8 kB / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.1323, allocations: 17.41 kB / 439.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1323, allocations: 192 / 439.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1323, allocations: 11.94 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1323, allocations: 7.875 kB / 439.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.1327, allocations: 387.3 kB / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1327, allocations: 3.984 kB / 440.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.1328, allocations: 8 kB / 440.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1328, allocations: 0 / 440.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1328, allocations: 7.938 kB / 440.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1328, allocations: 3.938 kB / 440.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1328, allocations: 4.031 kB / 440.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.133, allocations: 204.2 kB / 440.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1331, allocations: 89 kB / 440.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1331, allocations: 11.94 kB / 440.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.1332, allocations: 0 / 440.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.1332, allocations: 7.984 kB / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1332, allocations: 8 kB / 440.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1333, allocations: 156.9 kB / 440.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1333, allocations: 0 / 440.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1336, allocations: 20 kB / 440.7 MB, free: 14.7 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.0008993/0.1345, allocations: 472.5 kB / 441.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.1346, allocations: 51.98 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1347, allocations: 0 / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.1347, allocations: 31.92 kB / 441.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1351, allocations: 23.98 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.1355, allocations: 262.8 kB / 441.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1357, allocations: 0.7043 MB / 442.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.596e-05/0.1358, allocations: 20.86 kB / 442.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.1358, allocations: 15.44 kB / 442.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1358, allocations: 0 / 442.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of Templates: time 0.003927/0.1397, allocations: 1.632 MB / 443.9 MB, free: 11.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) Environment - environmentSimulation: