Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 100 kB / 15.05 MB, free: 1.105 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.001903/0.001903, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.4236/0.4236, allocations: 38.02 MB / 308.4 MB, free: 10.41 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.0005853/0.0005858, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1358, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002469/0.1383, allocations: 1.382 MB / 435.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1397, allocations: 0.742 MB / 436.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.1398, allocations: 0 / 436.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.1402, allocations: 99.72 kB / 436.2 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1404, allocations: 71.83 kB / 436.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1407, allocations: 79.78 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1408, allocations: 75.83 kB / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.141, allocations: 19.97 kB / 436.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.1411, allocations: 47.83 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1412, allocations: 55.81 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1412, allocations: 0 / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.1413, allocations: 31.88 kB / 436.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1413, allocations: 31.89 kB / 436.6 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.1414, allocations: 41.64 kB / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1416, allocations: 108.1 kB / 436.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1416, allocations: 0 / 436.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1416, allocations: 3.938 kB / 436.7 MB, free: 2.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1416, allocations: 0 / 436.7 MB, free: 2.781 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005909/0.1422, allocations: 422.7 kB / 437.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1422, allocations: 8.031 kB / 437.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1423, allocations: 23.77 kB / 437.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.1426, allocations: 222.5 kB / 437.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1427, allocations: 4 kB / 437.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1427, allocations: 4 kB / 437.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1429, allocations: 69.66 kB / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1429, allocations: 0 / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1429, allocations: 0 / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1429, allocations: 0 / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.143, allocations: 43.86 kB / 437.5 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.1434, allocations: 312.8 kB / 437.8 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1437, allocations: 74.77 kB / 437.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1437, allocations: 0 / 437.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.1439, allocations: 79.38 kB / 437.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.144, allocations: 4 kB / 437.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007028/0.1447, allocations: 229.1 kB / 438.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1447, allocations: 55.41 kB / 438.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.145, allocations: 242.5 kB / 438.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.145, allocations: 29.7 kB / 438.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.1451, allocations: 116 kB / 438.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.1452, allocations: 39.55 kB / 438.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.1452, allocations: 0 / 438.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1453, allocations: 330.8 kB / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.1454, allocations: 27.98 kB / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.1455, allocations: 45.7 kB / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.961e-05/0.1456, allocations: 39.92 kB / 439.1 MB, free: 188 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1456, allocations: 0 / 439.1 MB, free: 188 kB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002099/0.1458, allocations: 129.5 kB / 439.2 MB, free: 52 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1458, allocations: 7.953 kB / 439.2 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1458, allocations: 4.031 kB / 439.2 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1459, allocations: 0 / 439.2 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.146, allocations: 31.86 kB / 439.2 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.146, allocations: 0 / 439.2 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.1461, allocations: 7.938 kB / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.1461, allocations: 8.047 kB / 439.3 MB, free: 15.99 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.1462, allocations: 130.8 kB / 439.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1462, allocations: 19.8 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.1463, allocations: 25.34 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1463, allocations: 8 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1463, allocations: 0 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1463, allocations: 0 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.1469, allocations: 451.2 kB / 439.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.1469, allocations: 0 / 439.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.147, allocations: 12 kB / 439.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.147, allocations: 0 / 439.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.147, allocations: 16.02 kB / 439.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.147, allocations: 0 / 439.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.147, allocations: 0 / 439.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1474, allocations: 241.8 kB / 440.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.1474, allocations: 96.91 kB / 440.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.1475, allocations: 4 kB / 440.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1476, allocations: 4 kB / 440.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1476, allocations: 15.98 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1476, allocations: 4 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1478, allocations: 184.5 kB / 440.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 0 / 440.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.148, allocations: 28 kB / 440.5 MB, free: 14.67 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.1491, allocations: 477.4 kB / 440.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1493, allocations: 83.84 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1493, allocations: 0 / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.1494, allocations: 35.98 kB / 441.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1496, allocations: 36.23 kB / 441.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.1502, allocations: 318.9 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1506, allocations: 0.7204 MB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.497e-05/0.1507, allocations: 21.06 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.1507, allocations: 19.44 kB / 442.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1507, allocations: 0 / 442.2 MB, free: 12.94 MB / 382.1 MB Notification: Performance of Templates: time 0.004587/0.1553, allocations: 1.771 MB / 443.9 MB, free: 11.17 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) Environment - environmentSimulation: