Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000816/0.000816, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009311/0.0009311, allocations: 168.7 kB / 15.95 MB, free: 204 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.247/1.247, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.28/0.28, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005825/0.0005826, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1147, allocations: 57.53 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002145/0.1169, allocations: 1.374 MB / 435.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1183, allocations: 0.7343 MB / 436.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1184, allocations: 7.938 kB / 436.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1187, allocations: 43.83 kB / 436.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.119, allocations: 39.83 kB / 436.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1193, allocations: 75.83 kB / 436.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.1195, allocations: 83.7 kB / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.1196, allocations: 12.22 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1197, allocations: 43.83 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.1198, allocations: 31.8 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1198, allocations: 0 / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1199, allocations: 35.98 kB / 436.4 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.12, allocations: 23.91 kB / 436.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.12, allocations: 41.58 kB / 436.5 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1202, allocations: 80.11 kB / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1202, allocations: 0 / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1202, allocations: 0 / 436.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1202, allocations: 0 / 436.6 MB, free: 2.91 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.0005392/0.1207, allocations: 402.9 kB / 437 MB, free: 2.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1208, allocations: 12.03 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.1208, allocations: 15.77 kB / 437 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1211, allocations: 207.6 kB / 437.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1211, allocations: 0 / 437.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1211, allocations: 4 kB / 437.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1213, allocations: 57.61 kB / 437.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1213, allocations: 0 / 437.3 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1213, allocations: 4 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1213, allocations: 0 / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.1214, allocations: 23.94 kB / 437.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1218, allocations: 277 kB / 437.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1219, allocations: 62.61 kB / 437.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.122, allocations: 20.86 kB / 437.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.122, allocations: 0 / 437.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.1222, allocations: 71.39 kB / 437.7 MB, free: 1.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.825e-06/0.1222, allocations: 3.984 kB / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000517/0.1227, allocations: 185 kB / 437.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1228, allocations: 55.41 kB / 438 MB, free: 1.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.123, allocations: 195.3 kB / 438.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.123, allocations: 25.7 kB / 438.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.1231, allocations: 108.1 kB / 438.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1231, allocations: 23.7 kB / 438.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1231, allocations: 0 / 438.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1232, allocations: 326.8 kB / 438.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.1233, allocations: 12 kB / 438.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.1234, allocations: 41.64 kB / 438.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.1234, allocations: 31.98 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1234, allocations: 0 / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001691/0.1236, allocations: 89.59 kB / 438.8 MB, free: 488 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1236, allocations: 11.95 kB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1236, allocations: 4.125 kB / 438.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1237, allocations: 3.938 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.1238, allocations: 19.92 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.1238, allocations: 4 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.1238, allocations: 4.031 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1239, allocations: 8 kB / 438.9 MB, free: 432 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 9.938e-05/0.124, allocations: 126.8 kB / 439 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.124, allocations: 15.81 kB / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.124, allocations: 21.34 kB / 439 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.124, allocations: 0 / 439 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1241, allocations: 4 kB / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1241, allocations: 0 / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.1245, allocations: 391.6 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1245, allocations: 3.953 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.1246, allocations: 11.94 kB / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1246, allocations: 4 kB / 439.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1246, allocations: 7.984 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1246, allocations: 80 / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1246, allocations: 3.984 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1249, allocations: 204.1 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.1249, allocations: 92.97 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.125, allocations: 4 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.125, allocations: 4.359 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1251, allocations: 4 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1251, allocations: 11.98 kB / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1252, allocations: 148.9 kB / 439.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1252, allocations: 7.938 kB / 439.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1255, allocations: 27.98 kB / 439.9 MB, free: 15.24 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.000981/0.1265, allocations: 464.8 kB / 440.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1267, allocations: 59.97 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1267, allocations: 3.938 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.1268, allocations: 24 kB / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1271, allocations: 23.97 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.1276, allocations: 246.5 kB / 440.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1279, allocations: 0.712 MB / 441.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.1279, allocations: 21.19 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.128, allocations: 19.42 kB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.128, allocations: 0 / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Templates: time 0.004018/0.132, allocations: 1.595 MB / 443.1 MB, free: 12.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) Environment - environmentSimulation: