Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007665/0.0007663, allocations: 90.52 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.004463/0.004463, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.412/1.412, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3547/0.3547, allocations: 38.04 MB / 308.8 MB, free: 10.33 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.0006089/0.0006089, allocations: 16 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1315, allocations: 57.52 MB / 434.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002207/0.1338, allocations: 1.385 MB / 436 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.135, allocations: 0.7806 MB / 436.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.1351, allocations: 4 kB / 436.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1354, allocations: 35.83 kB / 436.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1356, allocations: 43.83 kB / 436.8 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.1358, allocations: 75.84 kB / 436.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.136, allocations: 91.7 kB / 437 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1361, allocations: 12.22 kB / 437 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.1362, allocations: 39.78 kB / 437 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.1363, allocations: 31.78 kB / 437.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1363, allocations: 4 kB / 437.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.1364, allocations: 35.98 kB / 437.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.1364, allocations: 23.84 kB / 437.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.1365, allocations: 49.52 kB / 437.2 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1367, allocations: 99.97 kB / 437.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1367, allocations: 4 kB / 437.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1367, allocations: 3.938 kB / 437.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1367, allocations: 4 kB / 437.3 MB, free: 2.453 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.0005212/0.1372, allocations: 387.2 kB / 437.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1373, allocations: 11.97 kB / 437.7 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1373, allocations: 12.83 kB / 437.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1375, allocations: 196.7 kB / 437.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1376, allocations: 7.938 kB / 437.9 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1376, allocations: 7.984 kB / 437.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1377, allocations: 53.67 kB / 438 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1378, allocations: 4 kB / 438 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1378, allocations: 0 / 438 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1378, allocations: 3.984 kB / 438 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.1379, allocations: 16 kB / 438 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.1382, allocations: 288.8 kB / 438.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1384, allocations: 58.67 kB / 438.3 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.1385, allocations: 20.84 kB / 438.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1385, allocations: 0 / 438.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.1387, allocations: 71.33 kB / 438.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1387, allocations: 0 / 438.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005283/0.1392, allocations: 181.2 kB / 438.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.1393, allocations: 59.34 kB / 438.6 MB, free: 0.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1395, allocations: 158.4 kB / 438.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1395, allocations: 33.7 kB / 438.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.1396, allocations: 92.14 kB / 438.9 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1396, allocations: 27.64 kB / 438.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.1396, allocations: 13.72 kB / 439 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1398, allocations: 322.8 kB / 439.3 MB, free: 252 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.1398, allocations: 23.98 kB / 439.3 MB, free: 228 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.1399, allocations: 37.7 kB / 439.3 MB, free: 184 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.14, allocations: 53.66 kB / 439.4 MB, free: 124 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.14, allocations: 4 kB / 439.4 MB, free: 120 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000165/0.1402, allocations: 101.6 kB / 439.5 MB, free: 12 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1402, allocations: 4.188 kB / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1402, allocations: 0 / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/0.1403, allocations: 11.92 kB / 439.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.1404, allocations: 19.97 kB / 439.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1404, allocations: 4.094 kB / 439.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1404, allocations: 4 kB / 439.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1404, allocations: 7.984 kB / 439.5 MB, free: 15.96 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.823e-05/0.1405, allocations: 117.8 kB / 439.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.1406, allocations: 7.906 kB / 439.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.1406, allocations: 20.64 kB / 439.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1406, allocations: 4 kB / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1406, allocations: 0 / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1406, allocations: 4 kB / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1411, allocations: 395.2 kB / 440.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1411, allocations: 0 / 440.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.1411, allocations: 8 kB / 440.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1411, allocations: 0 / 440.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1411, allocations: 7.984 kB / 440.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1412, allocations: 3.938 kB / 440.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1412, allocations: 0 / 440.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1414, allocations: 204.3 kB / 440.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.1414, allocations: 85.02 kB / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1415, allocations: 0 / 440.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.1415, allocations: 11.98 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1416, allocations: 4 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1416, allocations: 7.938 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.1417, allocations: 131.9 kB / 440.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1417, allocations: 0 / 440.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.142, allocations: 24 kB / 440.6 MB, free: 14.84 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.0009773/0.1429, allocations: 476.2 kB / 441 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.1431, allocations: 59.91 kB / 441.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1431, allocations: 0 / 441.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.1432, allocations: 31.94 kB / 441.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1435, allocations: 23.97 kB / 441.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.144, allocations: 230.2 kB / 441.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1442, allocations: 0.6926 MB / 442 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.296e-05/0.1443, allocations: 21.17 kB / 442.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.1443, allocations: 15.44 kB / 442.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1443, allocations: 0 / 442.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of Templates: time 0.004473/0.1488, allocations: 1.609 MB / 443.7 MB, free: 11.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) Environment - environmentSimulation: