Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008651/0.008651, allocations: 102 kB / 15.73 MB, free: 6.039 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.001358/0.001358, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 12.2 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.2764/0.2764, allocations: 38.01 MB / 307.9 MB, free: 5.961 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.001406/0.001406, allocations: 67.91 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1171, allocations: 56.47 MB / 489.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003548/0.1207, allocations: 1.977 MB / 491.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1221, allocations: 0.9024 MB / 492.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1222, allocations: 4 kB / 492.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.1225, allocations: 43.7 kB / 492.4 MB, free: 2.855 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.0002504/0.1228, allocations: 71.55 kB / 492.5 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1231, allocations: 123.6 kB / 492.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1234, allocations: 195.4 kB / 492.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1235, allocations: 37.64 kB / 492.9 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1237, allocations: 75.69 kB / 492.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1238, allocations: 83.55 kB / 493 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1238, allocations: 16 kB / 493 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1239, allocations: 51.98 kB / 493.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.124, allocations: 31.91 kB / 493.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1241, allocations: 75.52 kB / 493.2 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.1244, allocations: 191.3 kB / 493.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.1244, allocations: 0 / 493.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1245, allocations: 3.938 kB / 493.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1245, allocations: 0 / 493.4 MB, free: 1.914 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009618/0.1254, allocations: 0.5488 MB / 493.9 MB, free: 1.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1255, allocations: 11.89 kB / 493.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.1255, allocations: 16.75 kB / 493.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1259, allocations: 256.7 kB / 494.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1259, allocations: 4.375 kB / 494.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.126, allocations: 20.11 kB / 494.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.1264, allocations: 144.2 kB / 494.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1264, allocations: 7.922 kB / 494.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1264, allocations: 0 / 494.4 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1264, allocations: 4 kB / 494.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.1269, allocations: 115.9 kB / 494.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.1275, allocations: 0.5398 MB / 495 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.1282, allocations: 166.5 kB / 495.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.1284, allocations: 76.73 kB / 495.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1285, allocations: 0 / 495.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.1289, allocations: 143.1 kB / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.1289, allocations: 0 / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008604/0.1297, allocations: 261.5 kB / 495.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.1298, allocations: 59.34 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.13, allocations: 219.2 kB / 495.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.13, allocations: 33.7 kB / 496 MB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.1301, allocations: 128.4 kB / 496.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1302, allocations: 39.44 kB / 496.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.1302, allocations: 33.72 kB / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1304, allocations: 334.8 kB / 496.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1306, allocations: 67.94 kB / 496.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.1309, allocations: 114.5 kB / 496.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.1314, allocations: 189.8 kB / 496.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1314, allocations: 0 / 496.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006207/0.1321, allocations: 259 kB / 497.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.1321, allocations: 37.69 kB / 497.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1321, allocations: 0 / 497.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1321, allocations: 0 / 497.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.1323, allocations: 43.97 kB / 497.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1323, allocations: 4 kB / 497.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.1325, allocations: 27.88 kB / 497.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1325, allocations: 8 kB / 497.2 MB, free: 13.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001227/0.1327, allocations: 137.7 kB / 497.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.1327, allocations: 23.78 kB / 497.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.1328, allocations: 17.41 kB / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1328, allocations: 7.938 kB / 497.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1328, allocations: 4 kB / 497.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1328, allocations: 0 / 497.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.133, allocations: 229.5 kB / 497.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.133, allocations: 4 kB / 497.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.1332, allocations: 27.91 kB / 497.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1332, allocations: 0 / 497.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1332, allocations: 4 kB / 497.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1332, allocations: 3.938 kB / 497.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1332, allocations: 0 / 497.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.1341, allocations: 304.7 kB / 498 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.1342, allocations: 88.95 kB / 498.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1342, allocations: 3.984 kB / 498.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1344, allocations: 39.91 kB / 498.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.1344, allocations: 15.98 kB / 498.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1345, allocations: 4 kB / 498.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1346, allocations: 172.5 kB / 498.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1346, allocations: 0 / 498.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1349, allocations: 32 kB / 498.3 MB, free: 12.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009374/0.1359, allocations: 409 kB / 498.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006242/0.1365, allocations: 219.2 kB / 498.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1365, allocations: 0 / 498.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.1368, allocations: 88 kB / 499 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1371, allocations: 47.83 kB / 499.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006604/0.1378, allocations: 316.2 kB / 499.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1381, allocations: 0.728 MB / 0.4884 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.983e-05/0.1382, allocations: 25.47 kB / 0.4884 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.1383, allocations: 19.44 kB / 0.4884 GB, free: 10.7 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1383, allocations: 0 / 0.4884 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Templates: time 0.006619/0.1449, allocations: 2.888 MB / 0.4912 GB, free: 7.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)