Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001581, 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.002413/0.002413, 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.633/1.633, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3918/0.3918, allocations: 38 MB / 307.8 MB, free: 10.08 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.001665/0.001665, allocations: 80.98 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1352, allocations: 56.46 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003895/0.1391, allocations: 1.681 MB / 433.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1405, allocations: 0.8052 MB / 434.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1406, allocations: 0 / 434.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.141, allocations: 43.77 kB / 434.2 MB, free: 4.086 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.0002966/0.1414, allocations: 55.75 kB / 434.3 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1417, allocations: 95.62 kB / 434.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1419, allocations: 95.7 kB / 434.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1421, allocations: 12.2 kB / 434.5 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1422, allocations: 43.78 kB / 434.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.1423, allocations: 27.86 kB / 434.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.1423, allocations: 4 kB / 434.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1424, allocations: 43.98 kB / 434.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.1425, allocations: 23.91 kB / 434.6 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.974e-05/0.1426, allocations: 39.73 kB / 434.7 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.1429, allocations: 115.8 kB / 434.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1429, allocations: 0 / 434.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.143, allocations: 0 / 434.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.143, allocations: 4 kB / 434.8 MB, free: 3.535 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.0008031/0.1438, allocations: 410.9 kB / 435.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1438, allocations: 11.89 kB / 435.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.1439, allocations: 12.84 kB / 435.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1442, allocations: 204.8 kB / 435.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1443, allocations: 8.375 kB / 435.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.1443, allocations: 8.109 kB / 435.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1445, allocations: 57.61 kB / 435.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1445, allocations: 7.938 kB / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1445, allocations: 0 / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1446, allocations: 0 / 435.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.524e-05/0.1447, allocations: 19.98 kB / 435.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.1452, allocations: 288.8 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.1454, allocations: 58.62 kB / 435.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.1455, allocations: 20.84 kB / 435.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1455, allocations: 0 / 435.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.1458, allocations: 75.39 kB / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1458, allocations: 0 / 435.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006657/0.1465, allocations: 173.1 kB / 436.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1466, allocations: 51.41 kB / 436.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1468, allocations: 199.3 kB / 436.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1468, allocations: 25.7 kB / 436.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.1469, allocations: 104.1 kB / 436.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.147, allocations: 27.69 kB / 436.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.147, allocations: 25.72 kB / 436.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1472, allocations: 330.8 kB / 436.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.1473, allocations: 19.98 kB / 436.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.543e-05/0.1473, allocations: 45.58 kB / 436.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1475, allocations: 49.72 kB / 437 MB, free: 1.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1475, allocations: 4 kB / 437 MB, free: 1.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.1477, allocations: 105.5 kB / 437.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1477, allocations: 4 kB / 437.1 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1477, allocations: 0 / 437.1 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1478, allocations: 4 kB / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.689e-05/0.1479, allocations: 12 kB / 437.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.1479, allocations: 3.984 kB / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.1479, allocations: 11.84 kB / 437.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.148, allocations: 4 kB / 437.1 MB, free: 0.9648 MB / 366.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.0001247/0.1481, allocations: 133.8 kB / 437.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.1481, allocations: 11.84 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.1482, allocations: 13.41 kB / 437.3 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1482, allocations: 4 kB / 437.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1482, allocations: 0 / 437.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1482, allocations: 11.86 kB / 437.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.1487, allocations: 395.3 kB / 437.7 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1487, allocations: 4.031 kB / 437.7 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.1488, allocations: 8 kB / 437.7 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1488, allocations: 0 / 437.7 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1488, allocations: 7.938 kB / 437.7 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1488, allocations: 4 kB / 437.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1488, allocations: 0 / 437.7 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1491, allocations: 196.2 kB / 437.9 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.1491, allocations: 93.44 kB / 438 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.1492, allocations: 7.875 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.1493, allocations: 11.94 kB / 438 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1493, allocations: 7.984 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1493, allocations: 0 / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1495, allocations: 156.9 kB / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1495, allocations: 0 / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1497, allocations: 24 kB / 438.2 MB, free: 15.79 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.001089/0.1508, allocations: 472.2 kB / 438.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.151, allocations: 63.89 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.151, allocations: 0 / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.1512, allocations: 35.98 kB / 438.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1516, allocations: 31.78 kB / 438.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006562/0.1522, allocations: 239.2 kB / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1526, allocations: 0.7041 MB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.669e-05/0.1527, allocations: 13.19 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.1528, allocations: 19.44 kB / 439.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1528, allocations: 0 / 439.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of Templates: time 0.005878/0.1587, allocations: 1.696 MB / 441.4 MB, free: 12.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)