Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, 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.001816/0.001816, allocations: 194.8 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.57/1.57, allocations: 205.1 MB / 222 MB, free: 4.77 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.3439/0.3439, allocations: 37.97 MB / 307.3 MB, free: 10.14 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.001324/0.001324, allocations: 66.42 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1399, allocations: 56.47 MB / 431 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003259/0.1432, allocations: 1.728 MB / 432.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1446, allocations: 0.8 MB / 433.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.1447, allocations: 3.938 kB / 433.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.145, allocations: 47.81 kB / 433.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1451, allocations: 51.81 kB / 433.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1453, allocations: 75.84 kB / 433.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1455, allocations: 91.7 kB / 433.8 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.1456, allocations: 20.2 kB / 433.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.1457, allocations: 39.8 kB / 433.9 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.1458, allocations: 39.77 kB / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1458, allocations: 0 / 433.9 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.1459, allocations: 39.98 kB / 434 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.146, allocations: 19.92 kB / 434 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1461, allocations: 35.67 kB / 434 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1463, allocations: 123.9 kB / 434.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1463, allocations: 0 / 434.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1463, allocations: 0 / 434.1 MB, free: 3.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1463, allocations: 0 / 434.1 MB, free: 3.918 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.0005282/0.1468, allocations: 419 kB / 434.5 MB, free: 3.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1469, allocations: 11.97 kB / 434.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1469, allocations: 24.67 kB / 434.6 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1472, allocations: 204.1 kB / 434.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1472, allocations: 4.375 kB / 434.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1472, allocations: 12.11 kB / 434.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1474, allocations: 53.67 kB / 434.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1474, allocations: 0 / 434.8 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1474, allocations: 4 kB / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1474, allocations: 0 / 434.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.1475, allocations: 19.98 kB / 434.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.1479, allocations: 300.7 kB / 435.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1481, allocations: 54.67 kB / 435.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.1481, allocations: 24.86 kB / 435.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1482, allocations: 0 / 435.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.1484, allocations: 67.33 kB / 435.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1484, allocations: 0 / 435.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000576/0.149, allocations: 173.2 kB / 435.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.149, allocations: 51.41 kB / 435.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.1493, allocations: 222.7 kB / 435.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1494, allocations: 33.7 kB / 435.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.1494, allocations: 108 kB / 435.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.1495, allocations: 27.64 kB / 435.9 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1496, allocations: 21.72 kB / 435.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1497, allocations: 330.8 kB / 436.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.1498, allocations: 19.98 kB / 436.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.029e-05/0.1498, allocations: 41.64 kB / 436.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.15, allocations: 61.72 kB / 436.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.15, allocations: 0 / 436.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001752/0.1502, allocations: 105.6 kB / 436.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1502, allocations: 4 kB / 436.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1502, allocations: 4 kB / 436.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1502, allocations: 0 / 436.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.1503, allocations: 19.92 kB / 436.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1503, allocations: 4.406 kB / 436.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.1504, allocations: 7.938 kB / 436.5 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1504, allocations: 7.938 kB / 436.5 MB, free: 1.289 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.0001087/0.1505, allocations: 137.8 kB / 436.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1505, allocations: 15.81 kB / 436.7 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.1506, allocations: 17.41 kB / 436.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1506, allocations: 0 / 436.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1506, allocations: 3.984 kB / 436.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1506, allocations: 3.938 kB / 436.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.1513, allocations: 395.3 kB / 437.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1513, allocations: 4 kB / 437.1 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.1513, allocations: 8 kB / 437.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1513, allocations: 0 / 437.1 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1514, allocations: 11.92 kB / 437.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1514, allocations: 3.938 kB / 437.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1514, allocations: 4 kB / 437.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.1516, allocations: 200.2 kB / 437.3 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.1517, allocations: 89.02 kB / 437.4 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1517, allocations: 3.938 kB / 437.4 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.1518, allocations: 11.98 kB / 437.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.1518, allocations: 0 / 437.4 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1518, allocations: 4 kB / 437.4 MB, free: 292 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.152, allocations: 180.3 kB / 437.6 MB, free: 112 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.152, allocations: 0 / 437.6 MB, free: 112 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1522, allocations: 24 kB / 437.6 MB, free: 88 kB / 366.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.001098/0.1533, allocations: 469.8 kB / 438.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.1536, allocations: 51.97 kB / 438.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1536, allocations: 0 / 438.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.1537, allocations: 39.91 kB / 438.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1541, allocations: 24.3 kB / 438.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.1546, allocations: 284.7 kB / 438.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.1551, allocations: 0.7121 MB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.1551, allocations: 24.88 kB / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.1552, allocations: 11.44 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1552, allocations: 4 kB / 439.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.004304/0.1595, allocations: 1.651 MB / 440.9 MB, free: 12.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)