Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006832/0.006832, allocations: 99.72 kB / 15.73 MB, free: 5.586 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.001663/0.001663, allocations: 195.3 kB / 16.67 MB, free: 5.523 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.498/1.498, 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.2143/0.2143, allocations: 38.01 MB / 307.9 MB, free: 5.988 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.001524/0.001524, allocations: 65.78 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.139, allocations: 56.46 MB / 489.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003788/0.1428, allocations: 1.676 MB / 491.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1445, allocations: 0.8051 MB / 492 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.1446, allocations: 7.938 kB / 492 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.1451, allocations: 51.81 kB / 492 MB, free: 3.258 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.0003019/0.1454, allocations: 59.69 kB / 492.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1457, allocations: 79.78 kB / 492.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.1459, allocations: 99.67 kB / 492.3 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1461, allocations: 16.22 kB / 492.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.1462, allocations: 35.84 kB / 492.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.671e-05/0.1463, allocations: 35.78 kB / 492.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1464, allocations: 4 kB / 492.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1465, allocations: 39.98 kB / 492.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/0.1466, allocations: 31.86 kB / 492.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.1466, allocations: 47.66 kB / 492.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1469, allocations: 127.6 kB / 492.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.1469, allocations: 0 / 492.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.397e-06/0.1469, allocations: 4 kB / 492.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.1469, allocations: 3.938 kB / 492.6 MB, free: 2.684 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.0007024/0.1477, allocations: 434.8 kB / 493 MB, free: 2.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1477, allocations: 15.89 kB / 493.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.1478, allocations: 12.75 kB / 493.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1481, allocations: 232.8 kB / 493.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1481, allocations: 384 / 493.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1482, allocations: 8.125 kB / 493.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1484, allocations: 61.67 kB / 493.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1484, allocations: 0 / 493.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1484, allocations: 0 / 493.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1484, allocations: 11.92 kB / 493.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.1485, allocations: 15.98 kB / 493.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.1489, allocations: 304.7 kB / 493.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.1491, allocations: 58.69 kB / 493.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.1492, allocations: 20.84 kB / 493.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.1493, allocations: 0 / 493.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.1495, allocations: 67.39 kB / 493.8 MB, free: 1.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1495, allocations: 3.938 kB / 493.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006443/0.1501, allocations: 169.4 kB / 494 MB, free: 1.121 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1502, allocations: 59.41 kB / 494.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.1505, allocations: 279.6 kB / 494.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1505, allocations: 33.64 kB / 494.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.1506, allocations: 112.1 kB / 494.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1506, allocations: 27.64 kB / 494.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.1507, allocations: 21.72 kB / 494.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1509, allocations: 334.8 kB / 494.9 MB, free: 232 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.1509, allocations: 24.19 kB / 494.9 MB, free: 208 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.151, allocations: 41.69 kB / 494.9 MB, free: 160 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1511, allocations: 57.77 kB / 495 MB, free: 96 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1511, allocations: 7.938 kB / 495 MB, free: 88 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002037/0.1514, allocations: 101.5 kB / 495.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1514, allocations: 8 kB / 495.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1514, allocations: 32 / 495.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1514, allocations: 4 kB / 495.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.1515, allocations: 15.94 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1515, allocations: 4 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1516, allocations: 7.922 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1516, allocations: 8 kB / 495.1 MB, free: 15.93 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.0001204/0.1517, allocations: 133.8 kB / 495.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1518, allocations: 19.81 kB / 495.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.1518, allocations: 17.41 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1518, allocations: 4 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1518, allocations: 3.984 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1518, allocations: 3.938 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.1523, allocations: 395.3 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1523, allocations: 0 / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.1524, allocations: 16.17 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1524, allocations: 4 kB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1524, allocations: 7.875 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1524, allocations: 32 / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1524, allocations: 8 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1526, allocations: 204.1 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1527, allocations: 88.92 kB / 496 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1527, allocations: 7.922 kB / 496 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.1528, allocations: 7.938 kB / 496 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1529, allocations: 8 kB / 496 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1529, allocations: 11.98 kB / 496 MB, free: 14.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.153, allocations: 200.2 kB / 496.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.153, allocations: 0 / 496.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1533, allocations: 27.98 kB / 496.3 MB, free: 14.68 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.001055/0.1544, allocations: 468.9 kB / 496.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1546, allocations: 55.97 kB / 496.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1546, allocations: 0 / 496.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.1547, allocations: 36.08 kB / 496.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.1551, allocations: 39.77 kB / 496.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.1557, allocations: 295.8 kB / 497.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1561, allocations: 0.7158 MB / 497.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.67e-05/0.1562, allocations: 12.88 kB / 497.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.1562, allocations: 23.38 kB / 497.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1562, allocations: 0 / 497.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of Templates: time 0.005117/0.1613, allocations: 1.762 MB / 499.7 MB, free: 11.28 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)