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.0007574/0.0007574, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005233/0.005233, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.474/1.474, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3335/0.3335, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.0005401/0.0005403, allocations: 16.52 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 57.52 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.001991/0.122, allocations: 1.393 MB / 436 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1233, allocations: 0.7884 MB / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.1234, allocations: 0 / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1238, allocations: 35.89 kB / 436.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.124, allocations: 47.83 kB / 436.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1243, allocations: 75.86 kB / 436.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1245, allocations: 99.62 kB / 437 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.607e-05/0.1246, allocations: 16.19 kB / 437 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.1247, allocations: 39.8 kB / 437.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.1247, allocations: 23.84 kB / 437.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1248, allocations: 8 kB / 437.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1249, allocations: 35.98 kB / 437.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.1249, allocations: 19.92 kB / 437.1 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.492e-05/0.125, allocations: 57.45 kB / 437.2 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1252, allocations: 107.9 kB / 437.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1252, allocations: 4 kB / 437.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1252, allocations: 3.938 kB / 437.3 MB, free: 2.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1253, allocations: 0 / 437.3 MB, free: 2.43 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.0005738/0.1258, allocations: 395.1 kB / 437.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1259, allocations: 12.03 kB / 437.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1259, allocations: 12.75 kB / 437.7 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1262, allocations: 208.1 kB / 437.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1262, allocations: 384 / 437.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1262, allocations: 8.125 kB / 437.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1264, allocations: 57.61 kB / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1264, allocations: 0 / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1264, allocations: 0 / 438 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1264, allocations: 3.984 kB / 438 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.1265, allocations: 24 kB / 438 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1269, allocations: 284.9 kB / 438.3 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.127, allocations: 54.62 kB / 438.4 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.1271, allocations: 20.84 kB / 438.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1271, allocations: 4 kB / 438.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.1273, allocations: 67.39 kB / 438.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1273, allocations: 0 / 438.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000516/0.1278, allocations: 185.2 kB / 438.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1279, allocations: 51.41 kB / 438.7 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1281, allocations: 182.2 kB / 438.8 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1281, allocations: 29.69 kB / 438.9 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.1282, allocations: 104.1 kB / 439 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1282, allocations: 23.7 kB / 439 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1282, allocations: 21.66 kB / 439 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.1283, allocations: 326.8 kB / 439.3 MB, free: 184 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.1284, allocations: 19.98 kB / 439.4 MB, free: 164 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.1285, allocations: 41.64 kB / 439.4 MB, free: 116 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1286, allocations: 53.72 kB / 439.5 MB, free: 56 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1286, allocations: 0 / 439.5 MB, free: 56 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1288, allocations: 109.4 kB / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1288, allocations: 4 kB / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1288, allocations: 0 / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1288, allocations: 0 / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.1289, allocations: 19.98 kB / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1289, allocations: 192 / 439.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.129, allocations: 7.938 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.129, allocations: 7.969 kB / 439.6 MB, free: 15.9 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 9.779e-05/0.1291, allocations: 133.8 kB / 439.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.1291, allocations: 7.906 kB / 439.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1292, allocations: 12.72 kB / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1292, allocations: 0 / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1292, allocations: 384 / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1292, allocations: 7.938 kB / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.1296, allocations: 395.3 kB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1297, allocations: 0 / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.1297, allocations: 11.98 kB / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1297, allocations: 0 / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1297, allocations: 7.938 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1298, allocations: 0 / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1298, allocations: 0 / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.13, allocations: 212.2 kB / 440.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1301, allocations: 92.98 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1301, allocations: 11.94 kB / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.1302, allocations: 0 / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.1302, allocations: 7.984 kB / 440.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1302, allocations: 4 kB / 440.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1303, allocations: 144 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1303, allocations: 0 / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1306, allocations: 20 kB / 440.6 MB, free: 14.75 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.000959/0.1316, allocations: 471.4 kB / 441.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1317, allocations: 59.91 kB / 441.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1317, allocations: 4.062 kB / 441.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.1318, allocations: 27.94 kB / 441.2 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1322, allocations: 35.84 kB / 441.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.1326, allocations: 250.6 kB / 441.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1329, allocations: 0.7004 MB / 442.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.133, allocations: 12.88 kB / 442.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.133, allocations: 15.44 kB / 442.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.133, allocations: 0 / 442.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of Templates: time 0.004595/0.1376, allocations: 1.617 MB / 443.8 MB, free: 11.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: