Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 194 kB / 16.53 MB, free: 6.391 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.682/1.682, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3318/0.3318, allocations: 39.93 MB / 309.7 MB, free: 9.281 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.00142/0.001421, allocations: 78.34 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.005182/0.1305, allocations: 1.689 MB / 436.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1325, allocations: 0.8015 MB / 437 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1326, allocations: 0 / 437 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.1331, allocations: 55.75 kB / 437.1 MB, free: 1.105 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.0003764/0.1335, allocations: 55.75 kB / 437.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.1339, allocations: 79.77 kB / 437.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1342, allocations: 91.7 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1344, allocations: 20.19 kB / 437.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1345, allocations: 43.8 kB / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1346, allocations: 27.8 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.1347, allocations: 4 kB / 437.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1349, allocations: 47.97 kB / 437.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.1349, allocations: 27.92 kB / 437.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1351, allocations: 39.67 kB / 437.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1354, allocations: 127.8 kB / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1354, allocations: 4 kB / 437.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1354, allocations: 0 / 437.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1354, allocations: 0 / 437.6 MB, free: 0.5469 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.0008681/0.1363, allocations: 450.5 kB / 438 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1364, allocations: 15.88 kB / 438.1 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.1365, allocations: 12.84 kB / 438.1 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.1368, allocations: 211.8 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1368, allocations: 4.359 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1369, allocations: 8.125 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.1371, allocations: 53.67 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1371, allocations: 7.922 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1371, allocations: 0 / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.1372, allocations: 8 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1373, allocations: 19.92 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.1378, allocations: 300.8 kB / 438.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.138, allocations: 58.67 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.1381, allocations: 28.84 kB / 438.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1382, allocations: 0 / 438.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.1385, allocations: 67.33 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1385, allocations: 0 / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007513/0.1392, allocations: 181 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1393, allocations: 51.41 kB / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.1396, allocations: 255.7 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1397, allocations: 37.7 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.1398, allocations: 112.1 kB / 439.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.1398, allocations: 23.66 kB / 439.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.1399, allocations: 21.7 kB / 439.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000262/0.1402, allocations: 334.8 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.1403, allocations: 23.92 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.123e-05/0.1404, allocations: 33.72 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1406, allocations: 65.64 kB / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1406, allocations: 0 / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002894/0.1409, allocations: 105.5 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1409, allocations: 4 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1409, allocations: 3.938 kB / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.141, allocations: 4 kB / 440.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1411, allocations: 16 kB / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1411, allocations: 4.031 kB / 440.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.1412, allocations: 11.92 kB / 440.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1412, allocations: 0 / 440.1 MB, free: 13.82 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.0001604/0.1414, allocations: 133.8 kB / 440.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.1414, allocations: 15.81 kB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.1415, allocations: 17.41 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1415, allocations: 3.984 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1415, allocations: 0 / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1416, allocations: 3.938 kB / 440.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000606/0.1422, allocations: 407.4 kB / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1422, allocations: 0 / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.1423, allocations: 19.86 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1423, allocations: 384 / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1423, allocations: 7.938 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1423, allocations: 4.234 kB / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1423, allocations: 0 / 440.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.1426, allocations: 208.3 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.1427, allocations: 88.92 kB / 441 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1428, allocations: 7.922 kB / 441 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1429, allocations: 4 kB / 441 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.143, allocations: 4 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.143, allocations: 7.984 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.1432, allocations: 203 kB / 441.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1433, allocations: 7.938 kB / 441.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005046/0.1438, allocations: 16 kB / 441.2 MB, free: 12.57 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.001608/0.1454, allocations: 472.1 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1457, allocations: 63.92 kB / 441.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1457, allocations: 0 / 441.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.1458, allocations: 23.98 kB / 441.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.1464, allocations: 31.84 kB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.1472, allocations: 291.7 kB / 442.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1475, allocations: 0.7197 MB / 442.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.448e-05/0.1476, allocations: 21.17 kB / 442.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.1477, allocations: 19.38 kB / 442.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1477, allocations: 0 / 442.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of Templates: time 0.006578/0.1543, allocations: 1.724 MB / 444.6 MB, free: 9.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)