Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002042/0.002042, 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.00274/0.00274, allocations: 196 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.71/1.71, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.314/0.314, allocations: 39.94 MB / 309.7 MB, free: 9.234 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.001594/0.001594, allocations: 67.91 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1426, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003663/0.1463, allocations: 1.685 MB / 436.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1477, allocations: 0.7977 MB / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.1478, allocations: 0 / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.1482, allocations: 39.77 kB / 437 MB, free: 1.133 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.0002315/0.1484, allocations: 51.75 kB / 437.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1487, allocations: 83.7 kB / 437.2 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1489, allocations: 95.7 kB / 437.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.149, allocations: 12.2 kB / 437.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.1491, allocations: 43.78 kB / 437.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.1492, allocations: 31.86 kB / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1492, allocations: 0 / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1494, allocations: 47.97 kB / 437.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1494, allocations: 19.92 kB / 437.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.1495, allocations: 27.75 kB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1497, allocations: 115.9 kB / 437.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1497, allocations: 0 / 437.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1497, allocations: 0 / 437.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1497, allocations: 0 / 437.5 MB, free: 0.6133 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.0005715/0.1503, allocations: 403 kB / 437.9 MB, free: 176 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1503, allocations: 11.89 kB / 437.9 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1504, allocations: 16.83 kB / 438 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1507, allocations: 204.7 kB / 438.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1507, allocations: 7.938 kB / 438.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1507, allocations: 0 / 438.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.1509, allocations: 57.61 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1509, allocations: 7.922 kB / 438.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1509, allocations: 7.984 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1509, allocations: 0 / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.151, allocations: 12 kB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.1514, allocations: 288.8 kB / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1516, allocations: 62.61 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/0.1517, allocations: 20.84 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1517, allocations: 4 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1519, allocations: 67.39 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1519, allocations: 0 / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005844/0.1525, allocations: 169.2 kB / 438.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.1526, allocations: 55.34 kB / 438.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1528, allocations: 162.4 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1528, allocations: 25.7 kB / 439.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.1528, allocations: 96.14 kB / 439.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.1529, allocations: 31.64 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.1529, allocations: 21.72 kB / 439.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1531, allocations: 322.8 kB / 439.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.1532, allocations: 23.98 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.1533, allocations: 41.64 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1534, allocations: 53.7 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1534, allocations: 4 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.1536, allocations: 105.6 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1537, allocations: 8 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1537, allocations: 0 / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1537, allocations: 3.938 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1538, allocations: 15.98 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1538, allocations: 4 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1539, allocations: 0 / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1539, allocations: 8.562 kB / 439.8 MB, free: 14.1 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.0001477/0.154, allocations: 129.5 kB / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.1541, allocations: 19.73 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.1541, allocations: 16.66 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1541, allocations: 0 / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.1541, allocations: 4 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1541, allocations: 0 / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.1547, allocations: 395.2 kB / 440.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1547, allocations: 4.031 kB / 440.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.1547, allocations: 8 kB / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1547, allocations: 0 / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1547, allocations: 7.984 kB / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1547, allocations: 0 / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1548, allocations: 0 / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.155, allocations: 204.2 kB / 440.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.1551, allocations: 89.02 kB / 440.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1551, allocations: 0 / 440.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.1552, allocations: 7.984 kB / 440.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.1552, allocations: 8 kB / 440.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1552, allocations: 4 kB / 440.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1554, allocations: 123.9 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1554, allocations: 0 / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1556, allocations: 23.98 kB / 440.8 MB, free: 12.97 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.001024/0.1567, allocations: 465.6 kB / 441.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1569, allocations: 67.83 kB / 441.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1569, allocations: 4 kB / 441.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.1569, allocations: 32 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1573, allocations: 32.08 kB / 441.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.1577, allocations: 210.8 kB / 441.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.158, allocations: 0.6963 MB / 442.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.1581, allocations: 20.86 kB / 442.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.214e-05/0.1581, allocations: 15.42 kB / 442.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1581, allocations: 4 kB / 442.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of Templates: time 0.00457/0.1627, allocations: 1.676 MB / 444 MB, free: 9.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)