Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001218, allocations: 100.1 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.00142/0.00142, allocations: 177.3 kB / 15.95 MB, free: 216 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.314/1.314, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2956/0.2956, allocations: 40 MB / 310.4 MB, free: 9.758 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.2. 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.0005283/0.0005284, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 57.96 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002207/0.114, allocations: 1.374 MB / 438.2 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1154, allocations: 0.7383 MB / 438.9 MB, free: 480 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.1155, allocations: 0 / 438.9 MB, free: 480 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1158, allocations: 79.77 kB / 439 MB, free: 400 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.1161, allocations: 63.84 kB / 439 MB, free: 336 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1163, allocations: 67.78 kB / 439.1 MB, free: 268 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1165, allocations: 75.83 kB / 439.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1166, allocations: 12.22 kB / 439.2 MB, free: 180 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1168, allocations: 43.83 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.1169, allocations: 39.84 kB / 439.3 MB, free: 96 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1169, allocations: 4 kB / 439.3 MB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.117, allocations: 31.86 kB / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.117, allocations: 19.97 kB / 439.3 MB, free: 40 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/0.1171, allocations: 37.72 kB / 439.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1173, allocations: 88.02 kB / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1173, allocations: 0 / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1173, allocations: 0 / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1173, allocations: 4 kB / 439.4 MB, free: 15.91 MB / 382.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.000513/0.1178, allocations: 418.7 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1179, allocations: 12.03 kB / 439.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.1179, allocations: 11.81 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1182, allocations: 207.6 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1182, allocations: 4 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1182, allocations: 4 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1184, allocations: 53.67 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1184, allocations: 0 / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1184, allocations: 0 / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.1184, allocations: 3.953 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.1185, allocations: 27.92 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.1189, allocations: 284.9 kB / 440.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1191, allocations: 58.66 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1191, allocations: 4 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.1193, allocations: 75.41 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1193, allocations: 0 / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005073/0.1199, allocations: 181.2 kB / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1199, allocations: 51.41 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1201, allocations: 210.2 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1202, allocations: 33.7 kB / 441.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.1202, allocations: 100.1 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1203, allocations: 31.64 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1203, allocations: 4 kB / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1204, allocations: 322.8 kB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.607e-05/0.1205, allocations: 23.98 kB / 441.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/0.1206, allocations: 33.7 kB / 441.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.1206, allocations: 23.98 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1206, allocations: 0 / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001832/0.1208, allocations: 97.53 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.1209, allocations: 15.55 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1209, allocations: 0 / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1209, allocations: 0 / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.535e-05/0.121, allocations: 23.92 kB / 441.7 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.121, allocations: 7.938 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.1211, allocations: 3.906 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1211, allocations: 4 kB / 441.7 MB, free: 13.4 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 (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.0001058/0.1212, allocations: 133.9 kB / 441.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.1212, allocations: 7.906 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.1213, allocations: 25.34 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1213, allocations: 0 / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1213, allocations: 0 / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1213, allocations: 0 / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.1217, allocations: 395.4 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1218, allocations: 0 / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1218, allocations: 16.02 kB / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1218, allocations: 0 / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1218, allocations: 4 kB / 442.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1218, allocations: 192 / 442.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1218, allocations: 80 / 442.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.1221, allocations: 225.7 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.1222, allocations: 97 kB / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1222, allocations: 4 kB / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.1223, allocations: 0 / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1223, allocations: 7.984 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.1223, allocations: 4 kB / 442.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1225, allocations: 160.2 kB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1225, allocations: 0 / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1227, allocations: 16 kB / 442.8 MB, free: 12.21 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.0009811/0.1237, allocations: 471.1 kB / 443.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1239, allocations: 51.92 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1239, allocations: 0 / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.124, allocations: 43.97 kB / 443.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.1242, allocations: 31.84 kB / 443.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.1247, allocations: 254.2 kB / 443.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.125, allocations: 0.7121 MB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.044e-05/0.125, allocations: 17.17 kB / 444.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.1251, allocations: 15.44 kB / 444.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1251, allocations: 0 / 444.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Templates: time 0.004029/0.1291, allocations: 1.602 MB / 446 MB, free: 9 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) Environment - environmentSimulation: