Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00971/0.00971, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.00163/0.00163, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.657/1.657, 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.1844/0.1844, allocations: 38 MB / 307.9 MB, free: 5.969 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.001459/0.001459, allocations: 75.89 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 56.47 MB / 489.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003005/0.1254, allocations: 1.664 MB / 491.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1275, allocations: 1.419 MB / 492.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.1276, allocations: 0 / 492.6 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1279, allocations: 35.77 kB / 492.6 MB, free: 2.668 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.00026/0.1282, allocations: 67.69 kB / 492.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1285, allocations: 75.77 kB / 492.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.1286, allocations: 99.69 kB / 492.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.1287, allocations: 16.2 kB / 492.9 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1288, allocations: 47.78 kB / 492.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.129, allocations: 39.83 kB / 493 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.129, allocations: 4 kB / 493 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1291, allocations: 63.91 kB / 493 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.804e-05/0.1292, allocations: 15.92 kB / 493.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.1292, allocations: 27.81 kB / 493.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.1295, allocations: 115.7 kB / 493.2 MB, free: 2.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1295, allocations: 4 kB / 493.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1295, allocations: 0 / 493.2 MB, free: 2.102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1295, allocations: 4 kB / 493.2 MB, free: 2.098 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.0005115/0.13, allocations: 407.1 kB / 493.6 MB, free: 1.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1301, allocations: 11.89 kB / 493.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1301, allocations: 8.844 kB / 493.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1304, allocations: 212.1 kB / 493.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1304, allocations: 384 / 493.8 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1304, allocations: 8.125 kB / 493.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1306, allocations: 67.39 kB / 493.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1306, allocations: 3.938 kB / 493.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1306, allocations: 8 kB / 493.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1306, allocations: 0 / 493.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.1307, allocations: 19.92 kB / 493.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.131, allocations: 284.8 kB / 494.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1312, allocations: 58.67 kB / 494.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.1313, allocations: 16.86 kB / 494.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1313, allocations: 4 kB / 494.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.1315, allocations: 67.33 kB / 494.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1315, allocations: 0 / 494.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005444/0.132, allocations: 173.3 kB / 494.5 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.1321, allocations: 77.11 kB / 494.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1322, allocations: 161.2 kB / 494.8 MB, free: 348 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1323, allocations: 25.7 kB / 494.8 MB, free: 316 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.1323, allocations: 104.1 kB / 494.9 MB, free: 208 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1324, allocations: 27.59 kB / 494.9 MB, free: 180 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.1324, allocations: 25.7 kB / 494.9 MB, free: 148 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1325, allocations: 322.8 kB / 495.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.1326, allocations: 23.98 kB / 495.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.1327, allocations: 42.56 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1328, allocations: 61.7 kB / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1328, allocations: 4 kB / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001711/0.133, allocations: 93.59 kB / 495.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.133, allocations: 4.062 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.133, allocations: 4.375 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.1331, allocations: 4 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.1332, allocations: 19.92 kB / 495.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1332, allocations: 4 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1332, allocations: 7.938 kB / 495.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1332, allocations: 4 kB / 495.5 MB, free: 15.53 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 9.702e-05/0.1333, allocations: 129.7 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1334, allocations: 7.906 kB / 495.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.1334, allocations: 16.72 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1334, allocations: 0 / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1334, allocations: 0 / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1334, allocations: 3.938 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1339, allocations: 391.5 kB / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1339, allocations: 0 / 496.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1339, allocations: 15.88 kB / 496.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1339, allocations: 7.984 kB / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1339, allocations: 3.938 kB / 496.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1339, allocations: 4.031 kB / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1339, allocations: 0 / 496.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1342, allocations: 204.3 kB / 496.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.1342, allocations: 85.02 kB / 496.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.1343, allocations: 3.938 kB / 496.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.1343, allocations: 4 kB / 496.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.1344, allocations: 15.98 kB / 496.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.1344, allocations: 7.938 kB / 496.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.854e-05/0.1345, allocations: 115.2 kB / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1345, allocations: 0 / 496.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.1348, allocations: 31.91 kB / 496.5 MB, free: 14.4 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.001136/0.136, allocations: 0.5018 MB / 497.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1362, allocations: 51.98 kB / 497.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1362, allocations: 3.938 kB / 497.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.19e-05/0.1362, allocations: 32.05 kB / 497.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1366, allocations: 31.83 kB / 497.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.137, allocations: 186.9 kB / 497.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1374, allocations: 0.7039 MB / 498.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.1375, allocations: 16.94 kB / 498.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.1375, allocations: 19.44 kB / 498.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1375, allocations: 0 / 498.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of Templates: time 0.005219/0.1428, allocations: 1.963 MB / 0.4883 GB, free: 10.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1)