Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007515/0.0007516, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001098/0.001098, allocations: 172.7 kB / 15.95 MB, free: 208 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.244/1.244, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.2803/0.2803, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0005426/0.0005426, allocations: 23.98 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002088/0.1154, allocations: 1.374 MB / 435.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1168, allocations: 0.7498 MB / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.1169, allocations: 0 / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1172, allocations: 51.81 kB / 436.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1174, allocations: 47.81 kB / 436.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1177, allocations: 75.84 kB / 436.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1179, allocations: 83.75 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.118, allocations: 16.2 kB / 436.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.27e-05/0.1181, allocations: 35.8 kB / 436.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.1182, allocations: 31.84 kB / 436.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1182, allocations: 4 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1184, allocations: 43.91 kB / 436.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.1184, allocations: 27.92 kB / 436.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.1185, allocations: 37.64 kB / 436.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1186, allocations: 100 kB / 436.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1187, allocations: 0 / 436.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1187, allocations: 0 / 436.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1187, allocations: 0 / 436.6 MB, free: 2.863 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.0005937/0.1193, allocations: 418.7 kB / 437 MB, free: 2.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1193, allocations: 8.031 kB / 437.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.1194, allocations: 15.86 kB / 437.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1197, allocations: 218.7 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1197, allocations: 0 / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1197, allocations: 4 kB / 437.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1199, allocations: 53.67 kB / 437.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1199, allocations: 0 / 437.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1199, allocations: 0 / 437.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1199, allocations: 7.938 kB / 437.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.12, allocations: 19.94 kB / 437.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.1204, allocations: 296.9 kB / 437.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1206, allocations: 62.59 kB / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.1207, allocations: 20.8 kB / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1207, allocations: 4 kB / 437.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.1209, allocations: 67.39 kB / 437.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1209, allocations: 0 / 437.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005757/0.1215, allocations: 192.9 kB / 438 MB, free: 1.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.1216, allocations: 51.41 kB / 438 MB, free: 1.266 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.1219, allocations: 258.5 kB / 438.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1219, allocations: 29.7 kB / 438.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/0.122, allocations: 112.1 kB / 438.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.1221, allocations: 31.62 kB / 438.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.1221, allocations: 7.938 kB / 438.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1222, allocations: 326.8 kB / 438.8 MB, free: 492 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.1223, allocations: 19.98 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.877e-05/0.1223, allocations: 33.7 kB / 438.8 MB, free: 432 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.1224, allocations: 24 kB / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1224, allocations: 0 / 438.9 MB, free: 408 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.1226, allocations: 109.4 kB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1226, allocations: 7.953 kB / 439 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1226, allocations: 384 / 439 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1226, allocations: 4 kB / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.1227, allocations: 12 kB / 439 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1227, allocations: 0 / 439 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.1228, allocations: 15.98 kB / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.1228, allocations: 4 kB / 439 MB, free: 248 kB / 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 ($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 (10): * Single equations (assignments): 10 * 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.0001151/0.1229, allocations: 134.8 kB / 439.1 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.123, allocations: 19.84 kB / 439.2 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.123, allocations: 21.52 kB / 439.2 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.123, allocations: 3.984 kB / 439.2 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1231, allocations: 0 / 439.2 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1231, allocations: 4 kB / 439.2 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.1235, allocations: 399.3 kB / 439.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.1236, allocations: 7.953 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.1236, allocations: 11.92 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1236, allocations: 8.031 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.1236, allocations: 0 / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1236, allocations: 0 / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1236, allocations: 4.188 kB / 439.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1239, allocations: 200.2 kB / 439.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.124, allocations: 104.7 kB / 439.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.124, allocations: 4 kB / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.1241, allocations: 8 kB / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1241, allocations: 7.984 kB / 439.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1241, allocations: 4 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.1243, allocations: 200 kB / 440.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1243, allocations: 0 / 440.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1246, allocations: 27.98 kB / 440.2 MB, free: 14.99 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 (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.001276/0.1259, allocations: 452.9 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.1262, allocations: 63.84 kB / 440.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1262, allocations: 4 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.1263, allocations: 23.98 kB / 440.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.1267, allocations: 32.09 kB / 440.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.1274, allocations: 298.9 kB / 441 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1278, allocations: 0.7199 MB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.1279, allocations: 17.19 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.128, allocations: 19.42 kB / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.128, allocations: 0 / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.00442/0.1324, allocations: 1.622 MB / 443.4 MB, free: 11.72 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) Environment - environmentSimulation: