Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 91.84 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.006051/0.00605, allocations: 169.6 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.539/1.539, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3191/0.3191, allocations: 38.04 MB / 308.8 MB, free: 10.36 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.0005745/0.0005745, allocations: 19.98 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1212, allocations: 57.51 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001735/0.123, allocations: 1.389 MB / 436 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1241, allocations: 0.7845 MB / 436.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.1241, allocations: 0 / 436.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.1243, allocations: 35.83 kB / 436.8 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1245, allocations: 43.84 kB / 436.8 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1247, allocations: 79.83 kB / 436.9 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1248, allocations: 91.64 kB / 437 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.1249, allocations: 16.22 kB / 437 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.1249, allocations: 35.8 kB / 437 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.125, allocations: 35.77 kB / 437.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.125, allocations: 4 kB / 437.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.1251, allocations: 35.98 kB / 437.1 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.1251, allocations: 15.92 kB / 437.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.1252, allocations: 53.5 kB / 437.2 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1253, allocations: 107.9 kB / 437.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1253, allocations: 0 / 437.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1253, allocations: 4 kB / 437.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1254, allocations: 0 / 437.3 MB, free: 2.461 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.0003634/0.1257, allocations: 395.2 kB / 437.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.373e-05/0.1258, allocations: 8.031 kB / 437.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.1258, allocations: 12.78 kB / 437.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.126, allocations: 208 kB / 437.9 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.126, allocations: 384 / 437.9 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.126, allocations: 4.125 kB / 437.9 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1261, allocations: 65.66 kB / 438 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1261, allocations: 0 / 438 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.1261, allocations: 0 / 438 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-06/0.1261, allocations: 0 / 438 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.902e-05/0.1262, allocations: 19.98 kB / 438 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.1265, allocations: 288.7 kB / 438.3 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1266, allocations: 58.69 kB / 438.3 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.1267, allocations: 20.84 kB / 438.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1267, allocations: 3.984 kB / 438.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.1268, allocations: 67.33 kB / 438.4 MB, free: 1.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1268, allocations: 4 kB / 438.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003844/0.1272, allocations: 161.3 kB / 438.6 MB, free: 1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.1273, allocations: 59.41 kB / 438.6 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1274, allocations: 166.2 kB / 438.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1274, allocations: 33.7 kB / 438.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.1275, allocations: 104 kB / 438.9 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.1275, allocations: 15.75 kB / 439 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.1276, allocations: 17.7 kB / 439 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1277, allocations: 326.8 kB / 439.3 MB, free: 252 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1277, allocations: 20 kB / 439.3 MB, free: 232 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.459e-05/0.1278, allocations: 41.64 kB / 439.4 MB, free: 184 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.874e-05/0.1279, allocations: 65.64 kB / 439.4 MB, free: 112 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1279, allocations: 0 / 439.4 MB, free: 112 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001575/0.1281, allocations: 97.86 kB / 439.5 MB, free: 8 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.1281, allocations: 4 kB / 439.5 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1281, allocations: 3.984 kB / 439.5 MB, free: 0 / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.1281, allocations: 4.047 kB / 439.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.1282, allocations: 23.97 kB / 439.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.1282, allocations: 0 / 439.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1283, allocations: 11.94 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1283, allocations: 4 kB / 439.6 MB, free: 15.95 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.17e-05/0.1284, allocations: 125.8 kB / 439.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.1284, allocations: 11.84 kB / 439.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.1284, allocations: 16.7 kB / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1285, allocations: 0 / 439.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1285, allocations: 4 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1285, allocations: 3.938 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.1289, allocations: 391.3 kB / 440.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1289, allocations: 0 / 440.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.1289, allocations: 8 kB / 440.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1289, allocations: 0 / 440.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1289, allocations: 3.938 kB / 440.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1289, allocations: 7.938 kB / 440.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.1289, allocations: 8.016 kB / 440.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1291, allocations: 200.4 kB / 440.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.1292, allocations: 85.02 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1292, allocations: 7.938 kB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1293, allocations: 7.984 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.1293, allocations: 4 kB / 440.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1293, allocations: 4 kB / 440.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.245e-05/0.1294, allocations: 139.9 kB / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1294, allocations: 0 / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1297, allocations: 24 kB / 440.6 MB, free: 14.82 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.0008941/0.1306, allocations: 476.8 kB / 441.1 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1308, allocations: 59.97 kB / 441.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1308, allocations: 0 / 441.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.1308, allocations: 27.92 kB / 441.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1311, allocations: 23.98 kB / 441.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.1315, allocations: 234.2 kB / 441.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1318, allocations: 0.7043 MB / 442.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.1319, allocations: 21.19 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.1319, allocations: 15.44 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1319, allocations: 0 / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.003618/0.1355, allocations: 1.624 MB / 443.8 MB, free: 11.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) Environment - environmentSimulation: