Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01193/0.01193, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.002477/0.002477, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1872/0.1872, allocations: 38 MB / 307.9 MB, free: 5.973 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.001445/0.001445, allocations: 71.91 kB / 433 MB, free: 14.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1206, allocations: 56.47 MB / 489.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002873/0.1235, allocations: 1.68 MB / 491.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1249, allocations: 0.7972 MB / 492 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.125, allocations: 4 kB / 492 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1253, allocations: 39.77 kB / 492 MB, free: 3.262 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1255, allocations: 51.75 kB / 492.1 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1258, allocations: 87.77 kB / 492.2 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.126, allocations: 99.67 kB / 492.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.1261, allocations: 12.22 kB / 492.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.1262, allocations: 43.78 kB / 492.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.1262, allocations: 31.8 kB / 492.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1263, allocations: 4 kB / 492.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.1264, allocations: 47.97 kB / 492.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.1264, allocations: 19.92 kB / 492.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.1265, allocations: 31.81 kB / 492.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1267, allocations: 107.7 kB / 492.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1267, allocations: 0 / 492.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1267, allocations: 0 / 492.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1267, allocations: 0 / 492.6 MB, free: 2.734 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.0005249/0.1273, allocations: 414.9 kB / 493 MB, free: 2.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1273, allocations: 15.89 kB / 493 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.1273, allocations: 8.844 kB / 493 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1276, allocations: 212 kB / 493.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1276, allocations: 8.375 kB / 493.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1276, allocations: 12.03 kB / 493.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1278, allocations: 57.67 kB / 493.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1278, allocations: 3.938 kB / 493.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1278, allocations: 3.984 kB / 493.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1279, allocations: 0 / 493.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.128, allocations: 23.92 kB / 493.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.1283, allocations: 280.9 kB / 493.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1285, allocations: 58.69 kB / 493.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.1285, allocations: 20.84 kB / 493.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1285, allocations: 0 / 493.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.1287, allocations: 71.33 kB / 493.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1287, allocations: 4 kB / 493.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005048/0.1292, allocations: 177.1 kB / 493.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1293, allocations: 51.41 kB / 494 MB, free: 1.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1294, allocations: 186.2 kB / 494.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1295, allocations: 25.7 kB / 494.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.1295, allocations: 104.1 kB / 494.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.1296, allocations: 23.66 kB / 494.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.1296, allocations: 29.7 kB / 494.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1297, allocations: 330.8 kB / 494.6 MB, free: 448 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.1298, allocations: 16 kB / 494.6 MB, free: 432 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.1299, allocations: 37.7 kB / 494.7 MB, free: 388 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.13, allocations: 61.7 kB / 494.7 MB, free: 320 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.13, allocations: 0 / 494.7 MB, free: 320 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.1302, allocations: 101.6 kB / 494.8 MB, free: 212 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1302, allocations: 4 kB / 494.9 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1302, allocations: 0 / 494.9 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1302, allocations: 3.984 kB / 494.9 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.1303, allocations: 20.31 kB / 494.9 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1303, allocations: 0 / 494.9 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.1304, allocations: 11.84 kB / 494.9 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.1304, allocations: 4 kB / 494.9 MB, free: 168 kB / 366.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 9.118e-05/0.1305, allocations: 129.8 kB / 495 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.1305, allocations: 15.91 kB / 495 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.1306, allocations: 16.78 kB / 495 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1306, allocations: 0 / 495 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1306, allocations: 0 / 495 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.1306, allocations: 3.938 kB / 495.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.131, allocations: 391.4 kB / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1311, allocations: 0 / 495.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.1311, allocations: 11.94 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1311, allocations: 3.938 kB / 495.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1311, allocations: 11.97 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1311, allocations: 3.984 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1311, allocations: 0 / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1314, allocations: 204.2 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.1314, allocations: 85.02 kB / 495.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1314, allocations: 3.938 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.1315, allocations: 8 kB / 495.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1316, allocations: 15.92 kB / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1316, allocations: 0 / 495.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1317, allocations: 148 kB / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1317, allocations: 0 / 495.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.132, allocations: 24 kB / 495.9 MB, free: 15 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.0009957/0.133, allocations: 454.8 kB / 496.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.1332, allocations: 59.97 kB / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1332, allocations: 0 / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.1333, allocations: 40.06 kB / 496.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.1336, allocations: 23.97 kB / 496.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.134, allocations: 223.2 kB / 496.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1343, allocations: 0.7041 MB / 497.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.1343, allocations: 20.81 kB / 497.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.1344, allocations: 27.36 kB / 497.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1344, allocations: 3.938 kB / 497.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of Templates: time 0.004253/0.1387, allocations: 1.696 MB / 499.2 MB, free: 11.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)