Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 108 kB / 15.61 MB, free: 152 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.003231/0.00323, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.81/1.81, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3322/0.3322, allocations: 39.93 MB / 309.7 MB, free: 9.305 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.001627/0.001627, allocations: 79.88 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1354, allocations: 56.89 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003392/0.1388, allocations: 1.673 MB / 436.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1401, allocations: 0.8054 MB / 437 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1402, allocations: 0 / 437 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1405, allocations: 43.81 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.0002539/0.1407, allocations: 55.69 kB / 437.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.141, allocations: 79.75 kB / 437.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1411, allocations: 95.7 kB / 437.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1413, allocations: 16.22 kB / 437.3 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.1414, allocations: 43.78 kB / 437.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.1414, allocations: 27.84 kB / 437.3 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1415, allocations: 4 kB / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1416, allocations: 47.97 kB / 437.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.1416, allocations: 15.88 kB / 437.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.1417, allocations: 35.73 kB / 437.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.142, allocations: 111.9 kB / 437.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.142, allocations: 4 kB / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.142, allocations: 4 kB / 437.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1421, allocations: 0 / 437.6 MB, free: 0.5859 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.000641/0.1427, allocations: 407 kB / 438 MB, free: 144 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1427, allocations: 15.88 kB / 438 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.1428, allocations: 8.844 kB / 438 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.143, allocations: 212 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1431, allocations: 4.375 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1431, allocations: 8.125 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1433, allocations: 57.67 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1433, allocations: 7.922 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1433, allocations: 0 / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1433, allocations: 0 / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.1434, allocations: 19.98 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.1439, allocations: 284.8 kB / 438.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1441, allocations: 62.62 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1442, allocations: 20.84 kB / 438.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.1442, allocations: 3.984 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.1445, allocations: 71.3 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1445, allocations: 0 / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000577/0.1451, allocations: 165.3 kB / 438.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1451, allocations: 59.41 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1453, allocations: 186.1 kB / 439.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1453, allocations: 29.7 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.1454, allocations: 100.1 kB / 439.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1455, allocations: 31.62 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1455, allocations: 21.72 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1456, allocations: 330.8 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.1457, allocations: 19.98 kB / 439.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.709e-05/0.1458, allocations: 41.7 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1459, allocations: 57.7 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1459, allocations: 0 / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001827/0.1461, allocations: 97.53 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1462, allocations: 4 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1462, allocations: 0 / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1462, allocations: 8.031 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.1463, allocations: 15.98 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1463, allocations: 3.938 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.1464, allocations: 11.94 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1464, allocations: 384 / 439.9 MB, free: 14.03 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.0001003/0.1465, allocations: 129.1 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1465, allocations: 7.906 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.1465, allocations: 12.72 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1466, allocations: 0 / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1466, allocations: 8 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.1466, allocations: 7.922 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.1471, allocations: 395.4 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1471, allocations: 0 / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.1471, allocations: 11.94 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1471, allocations: 0 / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1472, allocations: 15.88 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1472, allocations: 0 / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1472, allocations: 4.031 kB / 440.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1474, allocations: 200.2 kB / 440.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.1475, allocations: 85.02 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1476, allocations: 7.938 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.1477, allocations: 4 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.1477, allocations: 7.984 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1477, allocations: 4 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.1479, allocations: 148.1 kB / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1479, allocations: 0 / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1482, allocations: 27.98 kB / 440.9 MB, free: 12.87 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.001208/0.1494, allocations: 465.7 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.1496, allocations: 63.89 kB / 441.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1496, allocations: 0 / 441.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.1497, allocations: 35.86 kB / 441.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1501, allocations: 31.11 kB / 441.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.1507, allocations: 223.2 kB / 441.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.1511, allocations: 0.7041 MB / 442.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.1512, allocations: 16.88 kB / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.1513, allocations: 27.36 kB / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1513, allocations: 0 / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Templates: time 0.005494/0.1568, allocations: 1.689 MB / 444.2 MB, free: 9.598 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)