Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 198.5 kB / 16.14 MB, free: 6.703 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.792/1.792, allocations: 205.1 MB / 222 MB, free: 4.766 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.4116/0.4116, allocations: 39.93 MB / 309.3 MB, free: 9.309 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.001425/0.001425, allocations: 71.91 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1391, allocations: 56.88 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003678/0.1428, allocations: 1.74 MB / 435.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1442, allocations: 0.7923 MB / 436.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.1443, allocations: 4 kB / 436.4 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.1447, allocations: 83.81 kB / 436.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.1449, allocations: 63.73 kB / 436.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1451, allocations: 83.84 kB / 436.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1453, allocations: 95.69 kB / 436.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1454, allocations: 20.2 kB / 436.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.1455, allocations: 47.77 kB / 436.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.1456, allocations: 59.81 kB / 436.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1456, allocations: 0 / 436.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1458, allocations: 39.98 kB / 436.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.1458, allocations: 23.86 kB / 436.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.1459, allocations: 47.66 kB / 436.9 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1461, allocations: 111.9 kB / 437 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1461, allocations: 0 / 437 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1461, allocations: 0 / 437 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1461, allocations: 0 / 437 MB, free: 0.9062 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.0005602/0.1467, allocations: 423 kB / 437.4 MB, free: 456 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1467, allocations: 8.031 kB / 437.4 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.1468, allocations: 16.75 kB / 437.5 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.147, allocations: 208.8 kB / 437.7 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.147, allocations: 4.375 kB / 437.7 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1471, allocations: 8.125 kB / 437.7 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1472, allocations: 61.55 kB / 437.7 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1472, allocations: 3.938 kB / 437.7 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1473, allocations: 4 kB / 437.7 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1473, allocations: 0 / 437.7 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.1473, allocations: 19.98 kB / 437.8 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.1478, allocations: 288.8 kB / 438 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.148, allocations: 62.61 kB / 438.1 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.1481, allocations: 16.86 kB / 438.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.1481, allocations: 11.97 kB / 438.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.1484, allocations: 67.39 kB / 438.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.1484, allocations: 0 / 438.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006075/0.149, allocations: 173.1 kB / 438.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.149, allocations: 55.39 kB / 438.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1492, allocations: 214.2 kB / 438.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1493, allocations: 29.7 kB / 438.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.1494, allocations: 108.1 kB / 438.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1494, allocations: 23.66 kB / 438.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1494, allocations: 25.7 kB / 438.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1496, allocations: 326.8 kB / 439.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.1496, allocations: 23.98 kB / 439.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.1497, allocations: 37.66 kB / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1499, allocations: 65.7 kB / 439.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1499, allocations: 0 / 439.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.1501, allocations: 105.4 kB / 439.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1501, allocations: 8 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1501, allocations: 0 / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1502, allocations: 0 / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1503, allocations: 12 kB / 439.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1503, allocations: 0 / 439.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.1504, allocations: 12.33 kB / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1504, allocations: 12 kB / 439.4 MB, free: 14.29 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.0001333/0.1505, allocations: 129.7 kB / 439.5 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1506, allocations: 11.89 kB / 439.5 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.1506, allocations: 13.41 kB / 439.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1506, allocations: 4 kB / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.1507, allocations: 4 kB / 439.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1507, allocations: 11.86 kB / 439.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.1512, allocations: 407.4 kB / 440 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1512, allocations: 0 / 440 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.1513, allocations: 11.94 kB / 440 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1513, allocations: 0 / 440 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1513, allocations: 7.938 kB / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1513, allocations: 0 / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1513, allocations: 0 / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1516, allocations: 204.3 kB / 440.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.1517, allocations: 92.91 kB / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1517, allocations: 3.938 kB / 440.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.1518, allocations: 4 kB / 440.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.1519, allocations: 7.984 kB / 440.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.1519, allocations: 8 kB / 440.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.152, allocations: 156.2 kB / 440.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1521, allocations: 0 / 440.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.1524, allocations: 24 kB / 440.5 MB, free: 13.1 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.001169/0.1536, allocations: 469.7 kB / 440.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1538, allocations: 59.92 kB / 441 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1538, allocations: 0 / 441 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.1539, allocations: 31.92 kB / 441 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.1543, allocations: 23.98 kB / 441 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.155, allocations: 260.9 kB / 441.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.1554, allocations: 0.7082 MB / 442 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.604e-05/0.1554, allocations: 16.88 kB / 442 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.1555, allocations: 19.38 kB / 442 MB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1555, allocations: 0 / 442 MB, free: 11.5 MB / 382.1 MB Notification: Performance of Templates: time 0.004589/0.1601, allocations: 1.651 MB / 443.7 MB, free: 9.852 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)