Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.002266/0.002266, allocations: 189.3 kB / 16.25 MB, free: 6.148 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.76/1.76, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.3775/0.3775, allocations: 39.92 MB / 309.4 MB, free: 9.371 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.001331/0.001331, allocations: 71.89 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 56.88 MB / 434 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003045/0.1173, allocations: 1.763 MB / 435.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1186, allocations: 0.7962 MB / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.1186, allocations: 0 / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.119, allocations: 31.89 kB / 436.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1192, allocations: 51.83 kB / 436.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1195, allocations: 79.78 kB / 436.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1197, allocations: 95.7 kB / 436.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1198, allocations: 12.22 kB / 436.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.1199, allocations: 51.7 kB / 436.9 MB, free: 1.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.1199, allocations: 27.86 kB / 436.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.12, allocations: 4 kB / 436.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.1201, allocations: 39.97 kB / 436.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1201, allocations: 23.92 kB / 437 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.1202, allocations: 39.75 kB / 437 MB, free: 1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1204, allocations: 115.9 kB / 437.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1204, allocations: 0 / 437.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1204, allocations: 3.938 kB / 437.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1204, allocations: 0 / 437.1 MB, free: 0.8828 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.0005375/0.121, allocations: 414.9 kB / 437.5 MB, free: 440 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.121, allocations: 15.89 kB / 437.5 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1211, allocations: 8.844 kB / 437.5 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1213, allocations: 212.7 kB / 437.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1213, allocations: 8.375 kB / 437.8 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1213, allocations: 8.125 kB / 437.8 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1215, allocations: 53.67 kB / 437.8 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1215, allocations: 0 / 437.8 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1215, allocations: 3.938 kB / 437.8 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1215, allocations: 3.984 kB / 437.8 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.639e-05/0.1216, allocations: 16 kB / 437.8 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.1219, allocations: 288.9 kB / 438.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1221, allocations: 54.69 kB / 438.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.1221, allocations: 28.78 kB / 438.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1222, allocations: 4 kB / 438.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.1223, allocations: 67.39 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1223, allocations: 0 / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004961/0.1228, allocations: 173.1 kB / 438.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.1229, allocations: 55.41 kB / 438.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.123, allocations: 195.3 kB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1231, allocations: 25.7 kB / 438.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.1231, allocations: 108.1 kB / 438.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.1231, allocations: 23.7 kB / 438.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.1232, allocations: 25.7 kB / 438.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1233, allocations: 326.8 kB / 439.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.163e-05/0.1234, allocations: 20 kB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.1234, allocations: 37.64 kB / 439.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1235, allocations: 65.64 kB / 439.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1236, allocations: 0 / 439.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1237, allocations: 105.4 kB / 439.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1238, allocations: 11.94 kB / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1238, allocations: 0 / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1238, allocations: 0 / 439.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.423e-05/0.1239, allocations: 12 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1239, allocations: 4 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.1239, allocations: 11.92 kB / 439.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.124, allocations: 4 kB / 439.5 MB, free: 14.3 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.085e-05/0.124, allocations: 121.8 kB / 439.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.1241, allocations: 19.89 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.1241, allocations: 17.39 kB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1241, allocations: 3.938 kB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1242, allocations: 0 / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1242, allocations: 7.938 kB / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.1246, allocations: 387.3 kB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1246, allocations: 3.938 kB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.1246, allocations: 16.02 kB / 440 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1246, allocations: 4 kB / 440 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1247, allocations: 8.312 kB / 440 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1247, allocations: 0 / 440 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1247, allocations: 0 / 440 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1249, allocations: 200.3 kB / 440.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.1249, allocations: 88.92 kB / 440.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.125, allocations: 15.92 kB / 440.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.1251, allocations: 0 / 440.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1251, allocations: 11.92 kB / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1251, allocations: 7.984 kB / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1252, allocations: 152.9 kB / 440.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1252, allocations: 0 / 440.5 MB, free: 13.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1255, allocations: 27.98 kB / 440.5 MB, free: 13.12 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.0009195/0.1264, allocations: 477 kB / 441 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.1266, allocations: 59.89 kB / 441 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1266, allocations: 0 / 441 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/0.1267, allocations: 31.98 kB / 441.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.127, allocations: 39.17 kB / 441.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.1274, allocations: 251.2 kB / 441.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1277, allocations: 0.708 MB / 442.1 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.1278, allocations: 12.88 kB / 442.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.1278, allocations: 19.44 kB / 442.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1278, allocations: 0 / 442.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Templates: time 0.003862/0.1317, allocations: 1.678 MB / 443.8 MB, free: 9.844 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)