Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, 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.001594/0.001594, allocations: 195.4 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.699/1.699, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.4167/0.4167, allocations: 38 MB / 307.8 MB, free: 10.05 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.001817/0.001818, allocations: 75.88 kB / 375.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.144, allocations: 56.45 MB / 431.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003578/0.1477, allocations: 1.685 MB / 433.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.149, allocations: 0.8091 MB / 434.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.1491, allocations: 0 / 434.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1495, allocations: 39.77 kB / 434.2 MB, free: 4.094 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.0002429/0.1497, allocations: 55.75 kB / 434.3 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.15, allocations: 75.78 kB / 434.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1502, allocations: 99.67 kB / 434.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.1503, allocations: 12.22 kB / 434.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.1504, allocations: 39.8 kB / 434.5 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.94e-05/0.1505, allocations: 31.78 kB / 434.5 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1505, allocations: 4 kB / 434.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1506, allocations: 47.98 kB / 434.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.1507, allocations: 23.92 kB / 434.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.1508, allocations: 39.72 kB / 434.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.151, allocations: 103.9 kB / 434.8 MB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.151, allocations: 4 kB / 434.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.151, allocations: 0 / 434.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.151, allocations: 0 / 434.8 MB, free: 3.566 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.0005607/0.1516, allocations: 414.9 kB / 435.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.1516, allocations: 11.89 kB / 435.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.1517, allocations: 12.75 kB / 435.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.152, allocations: 208.1 kB / 435.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.152, allocations: 384 / 435.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.152, allocations: 12.12 kB / 435.4 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1522, allocations: 49.67 kB / 435.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1522, allocations: 0 / 435.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1522, allocations: 4 kB / 435.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1522, allocations: 4 kB / 435.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.1523, allocations: 19.92 kB / 435.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.1527, allocations: 284.9 kB / 435.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1529, allocations: 58.66 kB / 435.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.153, allocations: 24.84 kB / 435.8 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.153, allocations: 4 kB / 435.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.1532, allocations: 71.33 kB / 435.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.1532, allocations: 0 / 435.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005577/0.1538, allocations: 177.2 kB / 436.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1539, allocations: 55.41 kB / 436.1 MB, free: 2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1541, allocations: 178.2 kB / 436.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1541, allocations: 25.7 kB / 436.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1542, allocations: 104.1 kB / 436.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.1542, allocations: 23.7 kB / 436.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1543, allocations: 33.66 kB / 436.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1544, allocations: 330.8 kB / 436.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.1545, allocations: 19.98 kB / 436.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1545, allocations: 33.7 kB / 436.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1547, allocations: 57.66 kB / 436.9 MB, free: 1.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1547, allocations: 8 kB / 436.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.1549, allocations: 105.5 kB / 437 MB, free: 1.047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1549, allocations: 4 kB / 437.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1549, allocations: 4.281 kB / 437.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1549, allocations: 4 kB / 437.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.155, allocations: 19.92 kB / 437.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1551, allocations: 3.984 kB / 437.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.1551, allocations: 7.938 kB / 437.1 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1551, allocations: 4 kB / 437.1 MB, free: 1 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.000114/0.1552, allocations: 125.9 kB / 437.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1553, allocations: 11.89 kB / 437.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.1553, allocations: 12.72 kB / 437.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1553, allocations: 0 / 437.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1553, allocations: 4 kB / 437.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1554, allocations: 3.938 kB / 437.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.1558, allocations: 387.3 kB / 437.6 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1558, allocations: 4.031 kB / 437.6 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.1559, allocations: 15.92 kB / 437.6 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1559, allocations: 0 / 437.6 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1559, allocations: 7.938 kB / 437.7 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1559, allocations: 0 / 437.7 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1559, allocations: 0 / 437.7 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1562, allocations: 200.2 kB / 437.9 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1562, allocations: 89.02 kB / 437.9 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.1563, allocations: 12.3 kB / 437.9 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.1563, allocations: 0 / 437.9 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1564, allocations: 8 kB / 438 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1564, allocations: 11.98 kB / 438 MB, free: 20 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1566, allocations: 140.1 kB / 438.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1566, allocations: 3.938 kB / 438.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.1569, allocations: 27.98 kB / 438.1 MB, free: 15.85 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.001051/0.1579, allocations: 471.4 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1581, allocations: 55.92 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1582, allocations: 4 kB / 438.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.1582, allocations: 32.05 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1586, allocations: 31.77 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.1591, allocations: 227.5 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1594, allocations: 0.7041 MB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.1595, allocations: 16.86 kB / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.1595, allocations: 15.44 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1595, allocations: 0 / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Templates: time 0.00489/0.1644, allocations: 1.692 MB / 441.4 MB, free: 12.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)