Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008095/0.0008094, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005389/0.005389, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.596/1.596, 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.3631/0.3631, allocations: 38.03 MB / 308.8 MB, free: 10.35 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.0005927/0.0005927, allocations: 19.98 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1369, allocations: 57.51 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002322/0.1393, allocations: 1.397 MB / 436 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1407, allocations: 0.7845 MB / 436.7 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1408, allocations: 0 / 436.7 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1412, allocations: 79.75 kB / 436.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1415, allocations: 63.8 kB / 436.9 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.1418, allocations: 79.84 kB / 437 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.1421, allocations: 95.69 kB / 437.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1422, allocations: 24.2 kB / 437.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.1423, allocations: 43.78 kB / 437.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1424, allocations: 59.75 kB / 437.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1425, allocations: 0 / 437.2 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1426, allocations: 39.98 kB / 437.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.1427, allocations: 15.92 kB / 437.2 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.1428, allocations: 65.42 kB / 437.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.143, allocations: 111.9 kB / 437.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.143, allocations: 0 / 437.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.143, allocations: 0 / 437.4 MB, free: 2.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.143, allocations: 4 kB / 437.4 MB, free: 2.336 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.0006532/0.1437, allocations: 410.9 kB / 437.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.1437, allocations: 12.03 kB / 437.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.1438, allocations: 8.844 kB / 437.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1441, allocations: 216.7 kB / 438 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1441, allocations: 384 / 438.1 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1441, allocations: 8.125 kB / 438.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1443, allocations: 57.67 kB / 438.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1443, allocations: 4 kB / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1443, allocations: 0 / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1444, allocations: 0 / 438.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.1444, allocations: 23.92 kB / 438.1 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1448, allocations: 292.9 kB / 438.4 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.145, allocations: 54.67 kB / 438.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.1451, allocations: 24.84 kB / 438.5 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1451, allocations: 0 / 438.5 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.1453, allocations: 67.33 kB / 438.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1453, allocations: 0 / 438.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.1459, allocations: 177.2 kB / 438.7 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.1459, allocations: 59.39 kB / 438.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1461, allocations: 214.3 kB / 439 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1461, allocations: 29.7 kB / 439 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.1462, allocations: 104.1 kB / 439.1 MB, free: 416 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1463, allocations: 23.66 kB / 439.2 MB, free: 392 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.1463, allocations: 21.7 kB / 439.2 MB, free: 364 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1464, allocations: 326.8 kB / 439.5 MB, free: 28 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.1465, allocations: 16 kB / 439.5 MB, free: 12 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.1466, allocations: 45.69 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1467, allocations: 57.59 kB / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1467, allocations: 0 / 439.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1469, allocations: 105.6 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1469, allocations: 7.594 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1469, allocations: 0 / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1469, allocations: 0 / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.147, allocations: 23.97 kB / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.147, allocations: 0 / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.1471, allocations: 11.92 kB / 439.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.1471, allocations: 4 kB / 439.8 MB, free: 15.75 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.0001019/0.1472, allocations: 121.8 kB / 439.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1473, allocations: 19.8 kB / 439.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.1473, allocations: 13.59 kB / 439.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1473, allocations: 3.984 kB / 439.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1473, allocations: 3.938 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1473, allocations: 7.938 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.1477, allocations: 403.5 kB / 440.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1478, allocations: 0 / 440.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1478, allocations: 8.375 kB / 440.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1478, allocations: 3.938 kB / 440.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1478, allocations: 7.938 kB / 440.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1478, allocations: 8 kB / 440.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1478, allocations: 0 / 440.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.148, allocations: 204.2 kB / 440.6 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.1481, allocations: 93 kB / 440.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1481, allocations: 3.938 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.1482, allocations: 4 kB / 440.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1482, allocations: 11.98 kB / 440.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1483, allocations: 4 kB / 440.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1484, allocations: 160.2 kB / 440.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1484, allocations: 0 / 440.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1487, allocations: 23.98 kB / 440.9 MB, free: 14.55 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.0009881/0.1496, allocations: 458.3 kB / 441.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1498, allocations: 55.98 kB / 441.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1498, allocations: 0 / 441.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.1499, allocations: 31.92 kB / 441.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1503, allocations: 31.91 kB / 441.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.1507, allocations: 274.1 kB / 441.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.151, allocations: 0.7082 MB / 442.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.61e-05/0.1511, allocations: 21.12 kB / 442.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.1511, allocations: 19.42 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1511, allocations: 3.938 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of Templates: time 0.0041/0.1552, allocations: 1.624 MB / 444.1 MB, free: 11.31 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) Environment - environmentSimulation: