Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00764/0.00764, allocations: 107.5 kB / 15.74 MB, free: 6.051 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.001853/0.001853, allocations: 192.9 kB / 16.67 MB, free: 5.98 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.601/1.601, 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.2+maint.om/package.mo): time 0.2004/0.2004, allocations: 39.96 MB / 309.9 MB, free: 4.016 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.2. 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.001494/0.001494, allocations: 78.02 kB / 435.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1199, allocations: 56.88 MB / 492.7 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003074/0.1231, allocations: 1.684 MB / 494.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1244, allocations: 0.8091 MB / 495.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.1245, allocations: 3.938 kB / 495.2 MB, free: 172 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1249, allocations: 99.72 kB / 495.3 MB, free: 72 kB / 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.0002571/0.1252, allocations: 91.64 kB / 495.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1255, allocations: 87.77 kB / 495.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1256, allocations: 103.7 kB / 495.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1257, allocations: 20.2 kB / 495.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.1258, allocations: 51.77 kB / 495.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.126, allocations: 63.81 kB / 495.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.126, allocations: 4 kB / 495.7 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.1261, allocations: 43.98 kB / 495.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.1262, allocations: 23.86 kB / 495.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.1262, allocations: 39.67 kB / 495.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1264, allocations: 127.6 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1264, allocations: 0 / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1264, allocations: 0 / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1264, allocations: 0 / 496 MB, free: 15.43 MB / 382.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.0005229/0.127, allocations: 430.8 kB / 496.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.127, allocations: 15.89 kB / 496.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1271, allocations: 16.73 kB / 496.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1273, allocations: 216.7 kB / 496.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1274, allocations: 8.359 kB / 496.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1274, allocations: 8.125 kB / 496.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1276, allocations: 53.67 kB / 496.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1276, allocations: 3.938 kB / 496.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1276, allocations: 3.984 kB / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1276, allocations: 0 / 496.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.1277, allocations: 23.98 kB / 496.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.1281, allocations: 292.9 kB / 497 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1282, allocations: 66.55 kB / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.1283, allocations: 16.86 kB / 497.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1283, allocations: 4 kB / 497.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.1285, allocations: 71.38 kB / 497.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1285, allocations: 0 / 497.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005283/0.129, allocations: 181.1 kB / 497.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1291, allocations: 55.41 kB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1293, allocations: 242.3 kB / 497.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1293, allocations: 25.7 kB / 497.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.1294, allocations: 108.1 kB / 497.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1294, allocations: 23.66 kB / 497.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1295, allocations: 33.64 kB / 497.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1296, allocations: 326.8 kB / 498.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.1297, allocations: 23.98 kB / 498.2 MB, free: 13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.1297, allocations: 33.7 kB / 498.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1298, allocations: 57.72 kB / 498.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1299, allocations: 0 / 498.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.1301, allocations: 113.4 kB / 498.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1301, allocations: 4 kB / 498.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1301, allocations: 0 / 498.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1301, allocations: 0 / 498.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.1302, allocations: 16 kB / 498.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1302, allocations: 7.922 kB / 498.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.1303, allocations: 3.938 kB / 498.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1303, allocations: 12.03 kB / 498.4 MB, free: 12.74 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.0001057/0.1304, allocations: 137.7 kB / 498.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.1304, allocations: 11.81 kB / 498.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.1305, allocations: 21.41 kB / 498.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1305, allocations: 0 / 498.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1305, allocations: 0 / 498.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1305, allocations: 7.922 kB / 498.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.131, allocations: 399.5 kB / 499 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.131, allocations: 0 / 499 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.131, allocations: 11.94 kB / 499 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.131, allocations: 0 / 499 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1311, allocations: 15.86 kB / 499 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1311, allocations: 0 / 499 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1311, allocations: 0 / 499 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.1313, allocations: 208.2 kB / 499.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1314, allocations: 88.92 kB / 499.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.1314, allocations: 7.938 kB / 499.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1315, allocations: 8.359 kB / 499.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1315, allocations: 4 kB / 499.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1316, allocations: 4 kB / 499.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1317, allocations: 184.3 kB / 499.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1317, allocations: 0 / 499.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.132, allocations: 31.98 kB / 499.5 MB, free: 11.52 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.001129/0.1331, allocations: 461.2 kB / 500 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1334, allocations: 63.86 kB / 0.4883 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1334, allocations: 8.062 kB / 0.4883 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.1335, allocations: 27.92 kB / 0.4883 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1338, allocations: 39.58 kB / 0.4884 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005618/0.1344, allocations: 259.5 kB / 0.4886 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1348, allocations: 0.7197 MB / 0.4893 GB, free: 9.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.1349, allocations: 17.17 kB / 0.4894 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.1349, allocations: 19.38 kB / 0.4894 GB, free: 9.902 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1349, allocations: 0 / 0.4894 GB, free: 9.902 MB / 382.1 MB Notification: Performance of Templates: time 0.004809/0.1397, allocations: 1.715 MB / 0.491 GB, free: 8.191 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)