Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001467, allocations: 108 kB / 15.61 MB, free: 148 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.001556/0.001556, allocations: 197.5 kB / 16.53 MB, free: 6.656 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.777/1.777, 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.3283/0.3283, allocations: 39.94 MB / 309.7 MB, free: 9.293 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.001754/0.001754, allocations: 75.89 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1416, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003867/0.1455, allocations: 1.693 MB / 436.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1471, allocations: 0.8055 MB / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.1472, allocations: 0 / 437 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.1476, allocations: 39.77 kB / 437 MB, free: 1.117 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.0002552/0.1479, allocations: 47.77 kB / 437.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1482, allocations: 91.62 kB / 437.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1484, allocations: 91.7 kB / 437.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1485, allocations: 16.22 kB / 437.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.1486, allocations: 39.8 kB / 437.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.1487, allocations: 27.84 kB / 437.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1487, allocations: 4 kB / 437.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1488, allocations: 43.98 kB / 437.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.1489, allocations: 19.91 kB / 437.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.149, allocations: 31.8 kB / 437.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1492, allocations: 111.9 kB / 437.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1492, allocations: 3.938 kB / 437.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1492, allocations: 0 / 437.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1492, allocations: 0 / 437.6 MB, free: 0.5977 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.000611/0.1498, allocations: 411 kB / 438 MB, free: 152 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1499, allocations: 15.89 kB / 438 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.1499, allocations: 12.75 kB / 438 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1502, allocations: 204 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1502, allocations: 4.375 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1503, allocations: 8.031 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1504, allocations: 53.67 kB / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1505, allocations: 3.938 kB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1505, allocations: 4 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.1505, allocations: 4 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.1506, allocations: 15.98 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.151, allocations: 280.9 kB / 438.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1512, allocations: 62.66 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.1513, allocations: 24.8 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1513, allocations: 4 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.1516, allocations: 67.38 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1516, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005581/0.1521, allocations: 173.2 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.1522, allocations: 51.41 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1524, allocations: 178.2 kB / 439.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1524, allocations: 29.7 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.1525, allocations: 96.14 kB / 439.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1525, allocations: 27.64 kB / 439.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.1526, allocations: 21.72 kB / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1527, allocations: 330.8 kB / 439.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.1528, allocations: 19.98 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.1528, allocations: 49.58 kB / 439.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.153, allocations: 57.64 kB / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.153, allocations: 0 / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.1532, allocations: 105.5 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1532, allocations: 4 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1532, allocations: 0 / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1532, allocations: 0 / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.1533, allocations: 20.02 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1533, allocations: 4.156 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1534, allocations: 3.938 kB / 439.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1534, allocations: 11.98 kB / 439.9 MB, free: 14.05 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.0001024/0.1535, allocations: 121.8 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1535, allocations: 11.81 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.1536, allocations: 16.66 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1536, allocations: 4 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1536, allocations: 0 / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1536, allocations: 7.938 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.1541, allocations: 387.3 kB / 440.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1541, allocations: 0 / 440.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.1541, allocations: 11.98 kB / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1541, allocations: 0 / 440.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1541, allocations: 7.938 kB / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1541, allocations: 0 / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1542, allocations: 0 / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1544, allocations: 200.3 kB / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.1545, allocations: 85.02 kB / 440.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1545, allocations: 7.922 kB / 440.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.1546, allocations: 4.375 kB / 440.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1546, allocations: 11.94 kB / 440.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1546, allocations: 11.98 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1547, allocations: 132.1 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1548, allocations: 0 / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.155, allocations: 24 kB / 440.9 MB, free: 12.92 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.001031/0.1561, allocations: 476.4 kB / 441.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1563, allocations: 59.92 kB / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1563, allocations: 0 / 441.4 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.1564, allocations: 31.92 kB / 441.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1567, allocations: 24.59 kB / 441.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.1572, allocations: 222.9 kB / 441.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1575, allocations: 0.6963 MB / 442.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.1575, allocations: 21.19 kB / 442.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.1576, allocations: 19.42 kB / 442.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1576, allocations: 0 / 442.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of Templates: time 0.004523/0.1621, allocations: 1.689 MB / 444.1 MB, free: 9.664 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)